Loading .gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ prepare_job: rules: - if: $CI_COMMIT_TAG # Run this job when a tag is created manually script: - echo "VERSION_DIR=v$(echo $CI_COMMIT_TAG | cut -f1 -d'.')" >> variables.env # Generate the VERSION_DIR environment variable and append to the variables.env file - echo "VERSION_DIR=v$(echo $CI_COMMIT_TAG | cut -f1 -d'.')" >> variables.env # ex : '8.6.0' => 'v8' artifacts: reports: dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs Loading Loading
.gitlab-ci.yml +1 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,7 @@ prepare_job: rules: - if: $CI_COMMIT_TAG # Run this job when a tag is created manually script: - echo "VERSION_DIR=v$(echo $CI_COMMIT_TAG | cut -f1 -d'.')" >> variables.env # Generate the VERSION_DIR environment variable and append to the variables.env file - echo "VERSION_DIR=v$(echo $CI_COMMIT_TAG | cut -f1 -d'.')" >> variables.env # ex : '8.6.0' => 'v8' artifacts: reports: dotenv: variables.env # Use artifacts:reports:dotenv to expose the variables to other jobs Loading