Commit d6b36193 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Commentaire dans .gitlab-ci.yml

parent fb095ad6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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