goreleaser: Fix version string replacement
- The `Version` variable casing changed in 6a4950cf7a (diff-d897a31624bae4fe935e8dc2243f41626c68639be6643535297c06935277ffb4), so we need to update our version setting code.
- Otherwise, for `ghcs 0.11.0`, `ghcs --version` would print "DEV".
This commit is contained in:
parent
219a22ef12
commit
810c127608
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ func main() {
|
|||
}
|
||||
}
|
||||
|
||||
var version = "DEV"
|
||||
var version = "DEV" // Replaced in the release build process (by GoReleaser or Homebrew) by the git tag version number.
|
||||
|
||||
var rootCmd = newRootCmd()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue