Skip to content

Commit 9a18967

Browse files
committed
fun
1 parent 4ca818e commit 9a18967

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/label-version-bump.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,17 @@ jobs:
5454
BUMP_TYPE: ${{ steps.bump-type.outputs.bump-type }}
5555
id: version-update
5656
run: |
57-
OUTPUT=$($GITHUB_WORKSPACE/scripts/version-packages.sh)
57+
OUTPUT=$($GITHUB_WORKSPACE/scripts/version-packages.sh | tail -n1)
5858
echo " --- DEBUG ZONE ---"
5959
echo "just the output"
60-
echo "$OUTPUT" | tail -n1
60+
echo "$OUTPUT"
61+
echo "now xxd it"
62+
echo "$OUTPUT" | xxd
6163
# Debug JSON format before parsing
62-
echo $OUTPUT | tail -n1 | jq .
64+
echo $OUTPUT | jq .
6365
echo " --- DEBUG ZONE ENDS ---"
64-
echo "OLD_VERSION=$(echo "$OUTPUT" | tail -n1 | jq -r '.old_version')" >> "$GITHUB_ENV"
65-
echo "NEW_VERSION=$(echo "$OUTPUT" | tail -n1 | jq -r '.new_version')" >> "$GITHUB_ENV"
66+
echo "OLD_VERSION=$(echo "$OUTPUT" | jq -r '.old_version')" >> "$GITHUB_ENV"
67+
echo "NEW_VERSION=$(echo "$OUTPUT" | jq -r '.new_version')" >> "$GITHUB_ENV"
6668
6769
6870
# - name: Update CHANGELOG.md

0 commit comments

Comments
 (0)