fix: release create default target_commitish to master

GitLink default branch is master, not main. Some repos don't have main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
wbtiger 2026-04-09 17:33:15 +08:00
parent f8ed262b26
commit 9112f3382c
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ func Shortcuts() []*common.Shortcut {
{Name: "tag", Short: "t", Usage: "Tag name", Required: true},
{Name: "name", Short: "n", Usage: "Release name", Required: true},
{Name: "body", Short: "b", Usage: "Release notes"},
{Name: "target", Usage: "Target branch", Default: "main"},
{Name: "target", Usage: "Target branch", Default: "master"},
{Name: "prerelease", Usage: "Mark as prerelease (true/false)", Default: "false"},
},
Run: func(ctx *common.RuntimeContext) error {