Skip to content
Snippets Groups Projects
Verified Commit 5e330387 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Prevent release jobs on a base tag

parent c4061f15
No related branches found
No related tags found
1 merge request!899Prevent release jobs on a base tag
......@@ -194,7 +194,7 @@ sentry-release:
stage: deploy
rules:
- if: '$CI_COMMIT_TAG'
- if: '$CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /^base-.*/'
when: on_success
- when: never
......@@ -213,8 +213,10 @@ release-notes:
stage: deploy
image: registry.gitlab.com/teklia/devops:latest
only:
- tags
rules:
- if: '$CI_COMMIT_TAG && $CI_COMMIT_TAG !~ /^base-.*/'
when: on_success
- when: never
script:
- devops release-notes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment