Pass BUILD_OPTIONS to gox, too

This way release artifacts have version info included, too.
This commit is contained in:
Søren L. Hansen 2021-04-19 22:19:25 -07:00
parent 0c3bf6129d
commit 9fb9c5ccb8
2 changed files with 5 additions and 1 deletions

View File

@ -82,7 +82,7 @@ test:
if [ `go fmt $(go list ./... | grep -v /vendor/) | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
cross_compile:
GOARM=5 gox -os="darwin linux freebsd netbsd openbsd solaris" -arch="386 amd64 arm" -osarch="!darwin/386" -osarch="!darwin/arm" -output "${OUTPUT_DIR}/pkg/{{.OS}}_{{.Arch}}/{{.Dir}}"
GOARM=5 gox -os="darwin linux freebsd netbsd openbsd solaris" -arch="386 amd64 arm" -osarch="!darwin/386" -osarch="!darwin/arm" $(BUILD_OPTIONS) -output "${OUTPUT_DIR}/pkg/{{.OS}}_{{.Arch}}/{{.Dir}}"
targz:
mkdir -p ${OUTPUT_DIR}/dist

View File

@ -1,5 +1,9 @@
# GoTTY releases
## v1.1.1 (Unreleased)
* Pass BUILD\_OPTIONS to gox, too, so release artifacts have version info included.
## v1.1.0
* Today I learned about Go's handling of versions, so re-releasing 2.1.0 as 1.1.0.