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,27 +5,29 @@
"plugins": [ "plugins": [
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator", "@semantic-release/release-notes-generator",
[ "@semantic-release/changelog",
"@semantic-release/exec", {
{ "name": "@semantic-release/exec",
"config": {
"prepareCmd": "pnpm pack:chrome" "prepareCmd": "pnpm pack:chrome"
} }
],
"@semantic-release/changelog",
"@semantic-release/github",
{
"assets": [
{
"path": ".output/web-chat-0.0.1-chrome.zip"
},
{
"path": "package.json"
}
],
"labels": [
"release"
]
}, },
[
"@semantic-release/github",
{
"assets": [
{
"path": ".output/web-chat-{{nextRelease.version}}-chrome.zip"
},
{
"path": "package.json"
}
],
"labels": [
"release"
]
}
],
"@semantic-release/git" "@semantic-release/git"
] ]
} }