Skip to content

Commit

Permalink
fix: add packge.json & .zip to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Sep 27, 2024
1 parent bf05a9f commit 8c01312
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,29 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
{
"name": "@semantic-release/exec",
"config": {
"prepareCmd": "pnpm pack:chrome"
}
},
[
"@semantic-release/exec",
"@semantic-release/github",
{
"prepareCmd": "pnpm pack:chrome"
"assets": [
{
"path": ".output/web-chat-{{nextRelease.version}}-chrome.zip"
},
{
"path": "package.json"
}
],
"labels": [
"release"
]
}
],
"@semantic-release/changelog",
"@semantic-release/github",
{
"assets": [
{
"path": ".output/web-chat-0.0.1-chrome.zip"
},
{
"path": "package.json"
}
],
"labels": [
"release"
]
},
"@semantic-release/git"
]
}

0 comments on commit 8c01312

Please sign in to comment.