fix: test release flow

This commit is contained in:
molvqingtai 2024-09-28 07:57:10 +08:00
parent 4a98db443b
commit 04a80b7a7a

View file

@ -6,6 +6,34 @@
"@semantic-release/commit-analyzer", "@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator", "@semantic-release/release-notes-generator",
"@semantic-release/changelog", "@semantic-release/changelog",
"@semantic-release/git" [
"@semantic-release/git",
{
"assets": [
"package.json",
"package-lock.json"
],
"message": "chore(release): ${{ nextRelease.version }} [skip ci]"
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "pnpm pack:chrome && cat package.json"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": ".output/web-chat-${{ nextRelease.version }}-chrome.zip"
}
],
"labels": [
"release"
]
}
]
] ]
} }