Update .gitlab-ci.yml file
This commit is contained in:
parent
c42a0550fe
commit
2c7b5985dd
@ -18,7 +18,7 @@ prepare_job:
|
|||||||
when: never # Do not run this job when a tag is created manually
|
when: never # Do not run this job when a tag is created manually
|
||||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
|
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
|
||||||
script:
|
script:
|
||||||
- echo "TAG=v$(cat VERSION)" >> variables.env # and append to the variables.env file
|
- echo "TAG=RELEASE" >> variables.env # and append to the variables.env file
|
||||||
artifacts:
|
artifacts:
|
||||||
reports:
|
reports:
|
||||||
dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs
|
dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs
|
||||||
|
Reference in New Issue
Block a user