Skip to content

Commit

Permalink
fix: pre-release flag only worked on the pr command (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
djgilcrease authored Jul 2, 2024
1 parent 5fedd09 commit 3af7242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var (
currentCmd = app.Command("current", "prints current version").Alias("c")
preReleaseCmd = app.Command("prerelease", "new pre release version based on the next version calculated from git log").
Alias("pr")
preRelease = preReleaseCmd.Flag("pre-release", "adds a pre-release suffix to the version, without the semver mandatory dash prefix").
preRelease = app.Flag("pre-release", "adds a pre-release suffix to the version, without the semver mandatory dash prefix").
String()
pattern = app.Flag("pattern", "limits calculations to be based on tags matching the given pattern").String()
prefix = app.Flag("prefix", "set a custom prefix").Default("v").String()
Expand Down

0 comments on commit 3af7242

Please sign in to comment.