fix: add packge.json & .zip to assets

This commit is contained in:
molvqingtai 2024-09-27 18:39:22 +08:00
parent bf05a9fd63
commit 8c01312ecb

View file

@ -5,18 +5,19 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
"@semantic-release/changelog",
{
"name": "@semantic-release/exec",
"config": {
"prepareCmd": "pnpm pack:chrome"
}
],
"@semantic-release/changelog",
},
[
"@semantic-release/github",
{
"assets": [
{
"path": ".output/web-chat-0.0.1-chrome.zip"
"path": ".output/web-chat-{{nextRelease.version}}-chrome.zip"
},
{
"path": "package.json"
@ -25,7 +26,8 @@
"labels": [
"release"
]
},
}
],
"@semantic-release/git"
]
}