Skip to content

Commit 6b5eba7

Browse files
Fix casing for kill-pipeline output in version bump workflow
1 parent d4beaa3 commit 6b5eba7

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/_get-version.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
8383
if [ "$VERSION" != "$PROJECT_VERSION" ]; then
8484
echo "Version mismatch ($PROJECT_VERSION vs $VERSION). Bumping..."
85-
echo "KILL_PIPELINE=true" >> $GITHUB_OUTPUT
85+
echo "kill-pipeline=true" >> $GITHUB_OUTPUT
8686
8787
# Determine the branch to update
8888
if [[ "$GITHUB_REF" == refs/heads/* ]]; then
@@ -113,7 +113,7 @@ jobs:
113113
else
114114
echo "Version matches. Proceeding..."
115115
echo "NEW_SHA=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
116-
echo "KILL_PIPELINE=false" >> $GITHUB_OUTPUT
116+
echo "kill-pipeline=false" >> $GITHUB_OUTPUT
117117
fi
118118
119119
- name: Output Final Version
@@ -125,7 +125,6 @@ jobs:
125125
126126
- name: Kill Pipeline if No Bump
127127
id: kill-check
128-
if: steps.bump.outputs.KILL_PIPELINE == 'true'
128+
if: steps.bump.outputs.kill-pipeline == 'true'
129129
run: |
130-
KILL_PIPELINE="${{ steps.bump.outputs.KILL_PIPELINE }}"
131-
echo "KILL_PIPELINE=${KILL_PIPELINE}" >> $GITHUB_OUTPUT
130+
echo "Pipeline will be killed due to version bump"

0 commit comments

Comments
 (0)