Skip to content

Commit

Permalink
Bump up version to v0.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
iychoi committed Jan 31, 2023
1 parent cbcf5b1 commit 8362a59
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -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}'"
Expand All @@ -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:
Expand Down

0 comments on commit 8362a59

Please sign in to comment.