Fix GitlabCI for tags

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2021-06-21 11:33:51 +02:00
parent 8f8edb7cc0
commit 0fde2264f0
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 8 additions and 3 deletions

View File

@ -253,6 +253,10 @@ package-app-dev:
release-upload:
stage: upload
image: framasoft/yakforms-assets-deploy:latest
rules:
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
only:
variables:
- $CI_COMMIT_TAG
@ -279,9 +283,10 @@ release-upload:
release-create:
stage: deploy
image: registry.gitlab.com/gitlab-org/release-cli:latest
only:
variables:
- $CI_COMMIT_TAG
rules:
- if: '$CI_PROJECT_NAMESPACE != "framasoft"'
when: never
- if: $CI_COMMIT_TAG
before_script:
- apk --no-cache add awk sed grep
script: |