fix(ci): properly terminate command group while acquiring VERSION with semicolon

This commit is contained in:
2025-06-23 18:35:15 -05:00
parent 6f313bbc41
commit a35b7e77a3

View File

@@ -25,7 +25,7 @@ jobs:
id: get_version id: get_version
run: | run: |
VERSION=$(cat VERSION.txt 2>/dev/null | tr -d '\r\n' | xargs) VERSION=$(cat VERSION.txt 2>/dev/null | tr -d '\r\n' | xargs)
[ -n "$VERSION" ] || { echo "VERSION could not be acquired" && exit 1 } [ -n "$VERSION" ] || { echo "VERSION could not be acquired" && exit 1; }
echo "VERSION=$VERSION" >> $GITHUB_OUTPUT echo "VERSION=$VERSION" >> $GITHUB_OUTPUT
- name: Rename Linux Binary with Version - name: Rename Linux Binary with Version