From 04a80b7a7a14657a6993f50490fa61389216a327 Mon Sep 17 00:00:00 2001 From: molvqingtai Date: Sat, 28 Sep 2024 07:57:10 +0800 Subject: [PATCH] fix: test release flow --- .releaserc | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/.releaserc b/.releaserc index 94d9233..2f1b6da 100644 --- a/.releaserc +++ b/.releaserc @@ -6,6 +6,34 @@ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@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" + ] + } + ] ] }