1
0
mirror of https://github.com/go-task/task.git synced 2024-12-04 10:24:45 +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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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