fix: add packge.json & .zip to assets
This commit is contained in:
parent
bf05a9fd63
commit
8c01312ecb
1 changed files with 20 additions and 18 deletions
38
.releaserc
38
.releaserc
|
@ -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"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue