gitlab-ci: publish the RPM packages
* .gitlab-ci.yml (publish-rpm): New job.
This commit is contained in:
parent
3a03144754
commit
8d233692b2
1 changed files with 13 additions and 0 deletions
|
|
@ -222,6 +222,19 @@ rpm-pkg:
|
||||||
paths:
|
paths:
|
||||||
- ./*.rpm
|
- ./*.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:
|
publish-stable:
|
||||||
only:
|
only:
|
||||||
- stable
|
- stable
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue