Update .gitlab-ci.yml file

This commit is contained in:
Lee 2023-03-08 14:14:04 +00:00
parent c42a0550fe
commit 2c7b5985dd

@ -18,7 +18,7 @@ prepare_job:
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
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:
reports:
dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs