From 9aa3fccb5c5d402a12af5ce2bcbf428c795cf4cd Mon Sep 17 00:00:00 2001 From: skykooler Date: Thu, 19 Dec 2024 00:28:20 -0500 Subject: [PATCH] Don't make all version numbers windows version numbers --- .github/workflows/main.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b4b0931..213c9e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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'