.gitlab-ci.yml - fixed release

This commit is contained in:
Oscar Krause 2022-12-29 13:14:16 +01:00
parent e91436b236
commit 82876bf6b1
1 changed files with 3 additions and 0 deletions

View File

@ -275,9 +275,12 @@ release:
when: never
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
before_script:
- set -a # make variables from "source" command available to release-cli
- source version.env
script:
- echo "Running release-job for $VERSION"
after_script:
- set +a
release:
name: $CI_PROJECT_TITLE $version
description: Release of $CI_PROJECT_TITLE version $VERSION