forked from oscar.krause/fastapi-dls
.gitlab-ci.yml - fixed release
This commit is contained in:
parent
e91436b236
commit
82876bf6b1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user