mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 21:25:16 +03:00
fix build version
This commit is contained in:
parent
ee8fb89908
commit
7db0e6284d
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ func Update() {
|
|||
hash = strings.TrimSpace(utils.RunCmdOptional(cmd, "get git hash"))
|
||||
}
|
||||
|
||||
utils.RunCmd(exec.Command("go", "install", "-v", fmt.Sprintf("-ldflags=\"-X github.com/therecipe/qt/internal/cmd.buildVersion=%v\"", hash), fmt.Sprintf("github.com/therecipe/qt/cmd/...")), "run \"go install\"")
|
||||
utils.RunCmd(exec.Command("go", "install", "-v", fmt.Sprintf("-ldflags=\"-X=github.com/therecipe/qt/internal/cmd.buildVersion=%v\"", hash), fmt.Sprintf("github.com/therecipe/qt/cmd/...")), "run \"go install\"")
|
||||
|
||||
Prep()
|
||||
}
|
||||
|
@ -52,5 +52,5 @@ func Upgrade() {
|
|||
hash = strings.TrimSpace(utils.RunCmdOptional(cmd, "get git hash"))
|
||||
}
|
||||
|
||||
utils.RunCmd(exec.Command("go", "get", "-v", fmt.Sprintf("-ldflags=\"-X github.com/therecipe/qt/internal/cmd.buildVersion=%v\"", hash), fmt.Sprintf("github.com/therecipe/qt/cmd/...")), "run \"go get\"")
|
||||
utils.RunCmd(exec.Command("go", "get", "-v", fmt.Sprintf("-ldflags=\"-X=github.com/therecipe/qt/internal/cmd.buildVersion=%v\"", hash), fmt.Sprintf("github.com/therecipe/qt/cmd/...")), "run \"go get\"")
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue