Seperated build & release jobs in .gitlab-ci.yml
This commit is contained in:
parent
417603e09d
commit
ab620886c0
1 changed files with 10 additions and 2 deletions
|
@ -16,9 +16,17 @@ before_script:
|
||||||
# install phpab
|
# install phpab
|
||||||
- phive install phpab --global --trust-gpg-keys 0x2A8299CE842DD38C
|
- phive install phpab --global --trust-gpg-keys 0x2A8299CE842DD38C
|
||||||
|
|
||||||
build:
|
build-job:
|
||||||
|
script:
|
||||||
|
- make redist
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
|
||||||
|
release-job:
|
||||||
script:
|
script:
|
||||||
- make redist
|
- make redist
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- build/src
|
- build/src
|
||||||
|
rules:
|
||||||
|
- if: $CI_COMMIT_TAG
|
Loading…
Add table
Reference in a new issue