fix: test release flow
This commit is contained in:
parent
7a78ee026e
commit
3d984fc42b
2 changed files with 8 additions and 3 deletions
1
.github/workflows/cd.yml
vendored
1
.github/workflows/cd.yml
vendored
|
@ -39,7 +39,6 @@ jobs:
|
||||||
version: latest
|
version: latest
|
||||||
- run: pnpm install --ignore-scripts
|
- run: pnpm install --ignore-scripts
|
||||||
- run: pnpm wxt prepare
|
- run: pnpm wxt prepare
|
||||||
- run: pnpm build
|
|
||||||
- run: pnpm semantic-release --debug
|
- run: pnpm semantic-release --debug
|
||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}
|
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}
|
||||||
|
|
10
.releaserc
10
.releaserc
|
@ -12,13 +12,19 @@
|
||||||
"npmPublish": false
|
"npmPublish": false
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
"@semantic-release/exec",
|
||||||
|
{
|
||||||
|
"prepareCmd": "pnpm run pack && echo \"current files:\" && ls -a -d */"
|
||||||
|
}
|
||||||
|
],
|
||||||
[
|
[
|
||||||
"@semantic-release/github",
|
"@semantic-release/github",
|
||||||
{
|
{
|
||||||
"assets": [
|
"assets": [
|
||||||
{
|
{
|
||||||
"path": ".output/chrome-mv3",
|
"path": ".output/web-chat-${nextRelease.version}-chrome.zip",
|
||||||
"label": "Chrome Extension Installation Package v${nextRelease.version}"
|
"label": "Chrome Extension Installation Package"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"labels": [
|
"labels": [
|
||||||
|
|
Loading…
Reference in a new issue