Update .gitlab-ci.yml file
@@ -20,10 +20,6 @@ deploy_job:
20
20
release_job:
21
21
stage: release
22
22
image: registry.gitlab.com/gitlab-org/release-cli:latest
23
rules:
24
- if: $CI_COMMIT_TAG
25
when: never # Do not run this job when a tag is created manually
26
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
27
23
script:
28
24
- echo "running release_job for $TAG"
29
25
release:
@@ -20,10 +20,6 @@ deploy_job:20
release_job:20
release_job:21
stage: release21
stage: release22
image: registry.gitlab.com/gitlab-org/release-cli:latest22
image: registry.gitlab.com/gitlab-org/release-cli:latest23
rules:24
- if: $CI_COMMIT_TAG25
when: never # Do not run this job when a tag is created manually26
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch27
script:23
script:28
- echo "running release_job for $TAG"24
- echo "running release_job for $TAG"29
release: 25
release: