From 8362a596b867f161f14c84632c89a72604040325 Mon Sep 17 00:00:00 2001 From: Illyoung Choi Date: Mon, 30 Jan 2023 17:52:59 -0700 Subject: [PATCH] Bump up version to v0.4.5 --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 52ed2d2..fe935fb 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG=github.com/cyverse/gocommands -VERSION=v0.4.4 +VERSION=v0.4.5 GIT_COMMIT?=$(shell git rev-parse HEAD) BUILD_DATE?=$(shell date -u +"%Y-%m-%dT%H:%M:%SZ") LDFLAGS?="-X '${PKG}/commons.clientVersion=${VERSION}' -X '${PKG}/commons.gitCommit=${GIT_COMMIT}' -X '${PKG}/commons.buildDate=${BUILD_DATE}'" @@ -26,6 +26,13 @@ test-release: CGO_ENABLED=0 GOARCH=amd64 GOOS=linux go build -ldflags=${LDFLAGS} -o release/amd64_linux/gocmd cmd/*.go cd release/amd64_linux && tar cf gocommands_amd64_linux_${VERSION}.tar * && mv *.tar .. && cd ../.. +.PHONY: test-win +test-win: + rm -rf release + + mkdir -p release/amd64_windows + CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -ldflags=${LDFLAGS} -o release/amd64_windows/gocmd.exe cmd/*.go + .PHONY: build-release build-release: