Skip to content

Commit

Permalink
chore: 支持 beta 构建
Browse files Browse the repository at this point in the history
  • Loading branch information
ayangweb committed Sep 5, 2024
1 parent a910a66 commit af48bfa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,4 @@ jobs:
releaseBody: ""
releaseDraft: true
prerelease: false
args: ${{ matrix.settings.args }} ${{ (contains(github.ref_name, 'rc') || contains(github.ref_name, 'beta')) && matrix.settings.platform == 'windows-latest' && '-b nsis' || '' }}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"lint": "biome check --write src",
"preinstall": "npx only-allow pnpm",
"prepare": "simple-git-hooks",
"release": "release-it"
"release": "release-it",
"release-rc": "release-it --preRelease=rc",
"release-beta": "release-it --preRelease=beta"
},
"dependencies": {
"@ant-design/happy-work-theme": "^1.0.0",
Expand Down

0 comments on commit af48bfa

Please sign in to comment.