FIX: cut down bash function in release job so it doesn't complain about
syntax errors.
This commit is contained in:
@@ -260,6 +260,8 @@ image:
|
||||
export DWN
|
||||
export CHK
|
||||
export APP
|
||||
- !reference [.commands, parse_tag]
|
||||
parse_tag:
|
||||
- TAG=$(echo ${CI_COMMIT_MESSAGE} | tr -d \\n)
|
||||
|
||||
outputs_mech:
|
||||
@@ -393,7 +395,7 @@ release_job:
|
||||
when: never # Do not run this job when a tag is created manually
|
||||
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # Run this job when commits are pushed or merged to the default branch
|
||||
script:
|
||||
- !reference [.commands, parse_commit]
|
||||
- !reference [.commands, parse_tag]
|
||||
- apk add jq curl
|
||||
- |
|
||||
echo "running release_job for $TAG"
|
||||
|
||||
Reference in New Issue
Block a user