1
0
mirror of https://github.com/go-task/task.git synced 2025-11-27 22:38:20 +02:00

fix: checksum override when passed via ldflags (#1830)

This commit is contained in:
George Rawlinson
2024-09-24 05:45:41 +12:00
committed by GitHub
parent ad5a3166ac
commit 460e587c66

View File

@@ -18,9 +18,11 @@ func init() {
if version == "" { if version == "" {
version = info.Main.Version version = info.Main.Version
} }
if sum == "" {
sum = info.Main.Sum sum = info.Main.Sum
} }
} }
}
func GetVersion() string { func GetVersion() string {
return version return version