Don't make all version numbers windows version numbers

This commit is contained in:
skykooler
2024-12-19 00:28:20 -05:00
committed by GitHub
parent 8551a7c56d
commit 9aa3fccb5c
-8
View File
@@ -43,14 +43,6 @@ jobs:
run: |
# Read the version from src-tauri/tauri.conf.json
VERSION=$(jq -r '.version' src-tauri/tauri.conf.json)
# For Windows, modify version if it contains '-alpha' or '-beta'
if [[ "$VERSION" == *"-alpha"* ]]; then
VERSION="${VERSION/-alpha/-0}"
elif [[ "$VERSION" == *"-beta"* ]]; then
VERSION="${VERSION/-beta/-1}"
fi
# Set the version in the environment variable
echo "VERSION=$VERSION" >> $GITHUB_ENV
if: matrix.platform != 'windows-latest'