Skip to content

Commit

Permalink
Merge pull request #16 from thep0y/main
Browse files Browse the repository at this point in the history
chore: 尝试修改windows版本号
  • Loading branch information
thep0y authored Jan 18, 2024
2 parents 38168bb + bcc2bf3 commit 461dd74
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:

- name: Delete alpha or beta on Windows
if: matrix.platform == 'windows-latest'
id: build-version
run: cd src-tauri && node ./before-build.js >> "$GITHUB_OUTPUT"

- name: install dependencies (ubuntu only)
Expand All @@ -52,9 +53,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
BUILD_VERSION: ${{ steps.build-version.outputs.BUILD_VERSION || "__VERSION__" }}
with:
tagName: v${{$BUILD_VERSION || '__VERSION__'}}
releaseName: "v${{$BUILD_VERSION || '__VERSION__'}}"
tagName: v$BUILD_VERSION
releaseName: "v$BUILD_VERSION"
releaseBody: "See the assets to download this version and install."
releaseDraft: true
prerelease: false
Expand Down

0 comments on commit 461dd74

Please sign in to comment.