Hopefully fix build
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user