mirror of
https://github.com/sorenisanerd/gotty.git
synced 2024-11-24 04:54:25 +00: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
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
|
if [ `go fmt $(go list ./... | grep -v /vendor/) | wc -l` -gt 0 ]; then echo "go fmt error"; exit 1; fi
|
||||||
|
|
||||||
cross_compile:
|
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:
|
targz:
|
||||||
mkdir -p ${OUTPUT_DIR}/dist
|
mkdir -p ${OUTPUT_DIR}/dist
|
||||||
|
4
NEWS.md
4
NEWS.md
@ -1,5 +1,9 @@
|
|||||||
# GoTTY releases
|
# GoTTY releases
|
||||||
|
|
||||||
|
## v1.1.1 (Unreleased)
|
||||||
|
|
||||||
|
* Pass BUILD\_OPTIONS to gox, too, so release artifacts have version info included.
|
||||||
|
|
||||||
## v1.1.0
|
## v1.1.0
|
||||||
|
|
||||||
* Today I learned about Go's handling of versions, so re-releasing 2.1.0 as 1.1.0.
|
* Today I learned about Go's handling of versions, so re-releasing 2.1.0 as 1.1.0.
|
||||||
|
Loading…
Reference in New Issue
Block a user