diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b7a60103..2644b2854a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,8 @@ Versioning](http://semver.org/spec/v2.0.0.html). ### Fixed - Fixed `sensuctl completion` help for bash and zsh. +- Fixed a bug in build.sh where versions for Windows and Mac OS were not +generated correctly. - Display the name of extensions with table formatting in sensuctl. ## [2.0.0-beta.2] - 2018-06-28 diff --git a/build.sh b/build.sh index e63a6ce941..ef21878610 100755 --- a/build.sh +++ b/build.sh @@ -14,7 +14,7 @@ cmd=${1:-"all"} RACE="" -VERSION_CMD="go run ./version/cmd/version/version.go" +VERSION_CMD="GOOS=linux GOARCH=amd64 go run ./version/cmd/version/version.go" HANDLERS=(slack)