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