chore: update hotfix bump config

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2024-11-09 00:04:28 +08:00
parent 04ac3fe3f1
commit 9a5affcead
+1 -1
View File
@@ -8,7 +8,7 @@ const currentBranch = execSync("git rev-parse --abbrev-ref HEAD").toString().tri
export default defineConfig({
before: ["git pull --rebase"],
after: [
`gh pr create --title 'chore: Hotfix to release v\${NEW_VERSION}' --body 'v\${NEW_VERSION}' --base main --head ${currentBranch}`,
`gh pr create --title 'chore: Release v\${NEW_VERSION} for hotfix' --body 'v\${NEW_VERSION}' --base main --head ${currentBranch}`,
],
commit_message: "chore(release): hotfix to release v${NEW_VERSION}",
tag: false,