Compare commits
15 commits
3ca5bf48bc
...
92332fe159
Author | SHA1 | Date | |
---|---|---|---|
92332fe159 | |||
6708c43cea | |||
9d0ad207d0 | |||
ffe33454b4 | |||
053e6e76de | |||
ca345e348d | |||
f26c603b19 | |||
3d8591cad6 | |||
5caf2f7d50 | |||
2421a40271 | |||
79a0905362 | |||
7619e35d04 | |||
1e06a1f228 | |||
4ed7a8f887 | |||
b22bc35bbd |
1 changed files with 2 additions and 2 deletions
|
@ -21,9 +21,9 @@ func getLatestTag() string {
|
||||||
return stripVersionPrefix(output)
|
return stripVersionPrefix(output)
|
||||||
}
|
}
|
||||||
|
|
||||||
// set GoTomatoVersion from runtime/debug.Main.Version
|
// set version from runtime/debug.Main.Version
|
||||||
// use latest git tag as fallback
|
// use latest git tag as fallback
|
||||||
// can be overwritten via ldflags (e,g. by goreleaser)
|
// allow GoTomatoVersion to be overwritten via ldflags
|
||||||
func init() {
|
func init() {
|
||||||
if GoTomatoVersion == "" {
|
if GoTomatoVersion == "" {
|
||||||
info, _ := debug.ReadBuildInfo()
|
info, _ := debug.ReadBuildInfo()
|
||||||
|
|
Loading…
Reference in a new issue