Skip to content

Commit

Permalink
fix: test release flow
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Sep 28, 2024
1 parent 7a78ee0 commit 3d984fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
10 changes: 8 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down

0 comments on commit 3d984fc

Please sign in to comment.