Hopefully fix build

This commit is contained in:
skykooler 2024-12-18 23:42:37 -05:00 committed by GitHub
parent 40fa2e46ac
commit c5a06a2cee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 3 deletions

View File

@ -53,7 +53,11 @@ jobs:
sed -i "s/\"version\": \".*\"/\"version\": \"${WINDOWS_VERSION}\"/" src-tauri/tauri.windows.conf.json sed -i "s/\"version\": \".*\"/\"version\": \"${WINDOWS_VERSION}\"/" src-tauri/tauri.windows.conf.json
shell: bash shell: bash
- name: Set version for all platforms
run: |
# Extract the version from the Git tag (it should be the same across platforms)
VERSION=$(echo ${GITHUB_REF#refs/tags/})
echo "VERSION=${VERSION}" >> $GITHUB_ENV
- name: setup pnpm - name: setup pnpm
uses: pnpm/action-setup@v2 uses: pnpm/action-setup@v2
@ -85,8 +89,8 @@ jobs:
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:
tagName: "app-v${VERSION}" # Use the original version tag for the release tagName: "app-v${{ env.VERSION }}" # Use the original version tag for the release
releaseName: "App v${VERSION}" releaseName: "App v${{ env.VERSION }}"
releaseBody: 'See the assets to download this version and install.' releaseBody: 'See the assets to download this version and install.'
releaseDraft: false # Set to true if you want the release to be a draft releaseDraft: false # Set to true if you want the release to be a draft
prerelease: true prerelease: true