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

View file

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