Skip to content

Commit

Permalink
add prefix pr- in the version
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxSuRen committed Jun 19, 2023
1 parent bc1049f commit 3267876
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (o *checkoutOption) runE(c *cobra.Command, args []string) (err error) {
err = fmt.Errorf("unable to checkout git branch: %s, error: %v", o.tag, err)
return
}
version = fmt.Sprintf("%d", o.pr)
version = fmt.Sprintf("pr-%d", o.pr)
}

if o.versionOutput != "" {
Expand Down

0 comments on commit 3267876

Please sign in to comment.