From 1df81db2821e29d1ae7429ebefc9b756e10f0558 Mon Sep 17 00:00:00 2001 From: andrewc Date: Wed, 16 Jul 2025 12:17:57 +1000 Subject: [PATCH] FIX: cut down bash function in release job so it doesn't complain about syntax errors. --- kibot-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kibot-ci.yml b/kibot-ci.yml index 727e218..4e13199 100644 --- a/kibot-ci.yml +++ b/kibot-ci.yml @@ -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"