gitlab-ci: publish the RPM packages

* .gitlab-ci.yml (publish-rpm): New job.
This commit is contained in:
Alexandre Duret-Lutz 2018-07-02 14:27:27 +02:00
parent 3a03144754
commit 8d233692b2

View file

@ -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