.gitlab-ci.yml - fixed release

This commit is contained in:
Oscar Krause 2022-12-29 13:14:16 +01:00
parent e91436b236
commit 82876bf6b1

View File

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