Skip to content

Commit 70e05ee

Browse files
authored
Merge pull request #32 from schristoff/schristoff_updatetagfetch
bug: remove pattern matching from getVersion()
2 parents 77c3a69 + 1b45539 commit 70e05ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

releases/git.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func getCommit() string {
6969

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

0 commit comments

Comments
 (0)