From 8551a7c56de4ac7dfffff843d3f9222b90cd87b1 Mon Sep 17 00:00:00 2001 From: skykooler Date: Thu, 19 Dec 2024 00:23:14 -0500 Subject: [PATCH] oops --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 65f164e..b4b0931 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: shell: bash run: | # Read the version from src-tauri/tauri.conf.json - VERSION=$(jq -r '.package.version' 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 @@ -61,7 +61,7 @@ jobs: run: | # Read the version from src-tauri/tauri.conf.json $tauriConf = Get-Content src-tauri/tauri.conf.json | ConvertFrom-Json - $VERSION = $tauriConf.package.version + $VERSION = $tauriConf.version # Replace '-alpha' with '-0' and '-beta' with '-1' for Windows version if ($VERSION -match "-alpha") {