Skip to content

Commit

Permalink
convenient short flag for tag message
Browse files Browse the repository at this point in the history
  • Loading branch information
can3p committed Jan 11, 2024
1 parent ddeacde commit de46ca5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/release.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func ReleaseCommand(buildinfo *types.BuildInfo) *cobra.Command {
},
}

releaseCmd.Flags().StringVar(&tagComment, "tag-comment", "", "a message for the new tag")
releaseCmd.Flags().StringVarP(&tagComment, "tag-comment", "m", "", "a message for the new tag")
_ = releaseCmd.MarkFlagRequired("tag-comment")

return releaseCmd
Expand Down

0 comments on commit de46ca5

Please sign in to comment.