diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a57200..d1b2fe5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -126,7 +126,10 @@ jobs: - name: install frontend dependencies run: pnpm install # change this to npm, pnpm or bun depending on which one you use. - name: Get app version - run: echo "APP_VERSION=$(cargo metadata --no-deps --format-version 1 --manifest-path src-tauri/Cargo.toml | jq -r '.packages[0].version')" >> $GITHUB_ENV + run: | + cd .\src-tauri + $APP_VERSION = (cargo pkgid | ForEach-Object { ($_ -split "@")[1] }) + "APP_VERSION=$APP_VERSION" | Out-File -FilePath $env:GITHUB_ENV -Append - uses: tauri-apps/tauri-action@v0 env: