fix: test release flow
This commit is contained in:
parent
444d24c3b9
commit
72137e811d
2 changed files with 2 additions and 7 deletions
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
|
@ -39,6 +39,7 @@ 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 }}
|
||||
|
|
|
@ -12,18 +12,12 @@
|
|||
"npmPublish": false
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
"prepareCmd": "pnpm run pack && echo \"nextRelease.version: ${nextRelease.version}\" && echo \"current files:\" && ls -a */"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/github",
|
||||
{
|
||||
"assets": [
|
||||
{
|
||||
"path": ".output/web-chat-${nextRelease.version}-chrome.zip",
|
||||
"path": ".output/chrome-mv3",
|
||||
"label": "Chrome Extension Installation Package v${nextRelease.version}"
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue