fix: test release flow

This commit is contained in:
molvqingtai 2024-09-28 10:19:07 +08:00
parent 7a78ee026e
commit 3d984fc42b
2 changed files with 8 additions and 3 deletions

View file

@ -39,7 +39,6 @@ jobs:
version: latest
- run: pnpm install --ignore-scripts
- run: pnpm wxt prepare
- run: pnpm build
- run: pnpm semantic-release --debug
env:
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}

View file

@ -12,13 +12,19 @@
"npmPublish": false
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "pnpm run pack && echo \"current files:\" && ls -a -d */"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": ".output/chrome-mv3",
"label": "Chrome Extension Installation Package v${nextRelease.version}"
"path": ".output/web-chat-${nextRelease.version}-chrome.zip",
"label": "Chrome Extension Installation Package"
}
],
"labels": [