fix: test release flow

This commit is contained in:
molvqingtai 2024-09-28 07:47:20 +08:00
parent aeb1f22317
commit 4a98db443b
2 changed files with 2 additions and 28 deletions

View file

@ -39,6 +39,6 @@ jobs:
version: latest version: latest
- run: pnpm install --ignore-scripts - run: pnpm install --ignore-scripts
- run: pnpm wxt prepare - run: pnpm wxt prepare
- run: pnpm semantic-release --debug - run: pnpm semantic-release --debug --dry-run
env: env:
GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }} GH_TOKEN: ${{ secrets.WEB_CHAT_GITHUB_TOKEN }}

View file

@ -6,32 +6,6 @@
"@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/exec",
{
"prepareCmd": "pnpm pack:chrome && cat package.json"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "${{ github.workspace }}/.output/web-chat-${{ nextRelease.version }}-chrome.zip"
}
],
"labels": [
"release"
]
}
],
[
"@semantic-release/git",
{
"assets": [
"package.json"
]
}
]
] ]
} }