mirror of
https://github.com/yudai/gotty.git
synced 2025-12-30 14:18:49 +01:00
Pass BUILD_OPTIONS to gox, too
This way release artifacts have version info included, too.
This commit is contained in:
parent
0c3bf6129d
commit
9fb9c5ccb8
2 changed files with 5 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -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
|
||||
|
|
|
|||
4
NEWS.md
4
NEWS.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue