Update release workflow to read version from the correct file path

(cherry picked from commit f14d21e322)
This commit is contained in:
OMGeeky
2025-02-16 01:46:20 +01:00
parent 38a3d4082b
commit 022c9ad229

View File

@@ -16,9 +16,9 @@ jobs:
shell: bash shell: bash
run: | run: |
echo "Reading version from file:" echo "Reading version from file:"
cat packaging/ATCS_latest cat res/ATCS_latest
echo "" echo ""
VERSION=$(tr -d '[:space:]' < "packaging/ATCS_latest") VERSION=$(tr -d '[:space:]' < "res/ATCS_latest")
echo "Processed version: $VERSION" echo "Processed version: $VERSION"
echo "VERSION=$VERSION" >> $GITHUB_ENV echo "VERSION=$VERSION" >> $GITHUB_ENV
echo "Environment variable set to: $VERSION" echo "Environment variable set to: $VERSION"