diff --git a/Makefile b/Makefile index 862c50e..368caae 100644 --- a/Makefile +++ b/Makefile @@ -50,9 +50,10 @@ release: make build @zip -j bin/git-sv_$(VERSION)_$(BUILDOS)_$(BUILDARCH).zip bin/$(BUILDOS)_$(BUILDARCH)/$(BIN) -## release-all: prepare linux, darwin and windows binary for release +## release-all: prepare linux, darwin and windows binary for release (requires sv4git) release-all: @rm -rf bin - BUILDOS=linux make release - BUILDOS=darwin make release - BUILDOS=windows make release + + VERSION=$(shell git sv nv) BUILDOS=linux make release + VERSION=$(shell git sv nv) BUILDOS=darwin make release + VERSION=$(shell git sv nv) BUILDOS=windows make release