Update .gitlab-ci.yml file
This commit is contained in:
@@ -3,12 +3,6 @@ stages: # List of stages for jobs, and their order of execution
|
|||||||
|
|
||||||
|
|
||||||
release_job:
|
release_job:
|
||||||
|
|
||||||
rules:
|
|
||||||
- if: $CI_COMMIT_TAG
|
|
||||||
when: never # Do not run this job when a tag is created manually
|
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
|
|
||||||
|
|
||||||
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
stage: release # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
image: registry.gitlab.com/gitlab-org/release-cli:latest
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user