mirror of
https://github.com/Xevion/HATray.git
synced 2025-12-06 01:15:11 -06:00
fix(ci): properly terminate command group while acquiring VERSION with semicolon
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
id: get_version
|
||||
run: |
|
||||
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
|
||||
|
||||
- name: Rename Linux Binary with Version
|
||||
|
||||
Reference in New Issue
Block a user