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:
parent
ad5a3166ac
commit
460e587c66
@ -18,8 +18,10 @@ func init() {
|
||||
if version == "" {
|
||||
version = info.Main.Version
|
||||
}
|
||||
if sum == "" {
|
||||
sum = info.Main.Sum
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
func GetVersion() string {
|
||||
|
Loading…
Reference in New Issue
Block a user