Skip to content

Commit

Permalink
Merge pull request #32 from schristoff/schristoff_updatetagfetch
Browse files Browse the repository at this point in the history
bug: remove pattern matching from getVersion()
  • Loading branch information
schristoff authored Feb 6, 2024
2 parents 77c3a69 + 1b45539 commit 70e05ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releases/git.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func getCommit() string {

// Get a description of the commit, e.g. v0.30.1 (latest) or v0.30.1-32-gfe72ff73 (canary)
func getVersion() string {
version, _ := shx.OutputS("git", "describe", "--tags", "--match=v*")
version, _ := shx.OutputS("git", "describe", "--tags")
if version != "" {
return version
}
Expand Down

0 comments on commit 70e05ee

Please sign in to comment.