mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Fix GitlabCI for tags
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
8f8edb7cc0
commit
0fde2264f0
1 changed files with 8 additions and 3 deletions
|
@ -253,6 +253,10 @@ package-app-dev:
|
||||||
release-upload:
|
release-upload:
|
||||||
stage: upload
|
stage: upload
|
||||||
image: framasoft/yakforms-assets-deploy:latest
|
image: framasoft/yakforms-assets-deploy:latest
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
|
||||||
|
when: never
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
only:
|
only:
|
||||||
variables:
|
variables:
|
||||||
- $CI_COMMIT_TAG
|
- $CI_COMMIT_TAG
|
||||||
|
@ -279,9 +283,10 @@ release-upload:
|
||||||
release-create:
|
release-create:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
only:
|
rules:
|
||||||
variables:
|
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
|
||||||
- $CI_COMMIT_TAG
|
when: never
|
||||||
|
- if: $CI_COMMIT_TAG
|
||||||
before_script:
|
before_script:
|
||||||
- apk --no-cache add awk sed grep
|
- apk --no-cache add awk sed grep
|
||||||
script: |
|
script: |
|
||||||
|
|
Loading…
Reference in a new issue