From 8d233692b219254e29dec05714e68bf2b8f07b21 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 2 Jul 2018 14:27:27 +0200 Subject: [PATCH] gitlab-ci: publish the RPM packages * .gitlab-ci.yml (publish-rpm): New job. --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d8ec8eec2..637f38fe8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -222,6 +222,19 @@ rpm-pkg: paths: - ./*.rpm +publish-rpm: + stage: publish + only: + - /-rpm$/ + - next + - stable + tags: + - dput + dependencies: + - rpm-pkg + script: + - case $CI_COMMIT_REF_NAME in stable) rput fedora stable *.rpm;; next) rput fedora unstable *.rpm;; e + publish-stable: only: - stable