build: add sv version on make release-all
This commit is contained in:
parent
005d4ab939
commit
073deaceca
1 changed files with 5 additions and 4 deletions
9
Makefile
9
Makefile
|
@ -50,9 +50,10 @@ release:
|
||||||
make build
|
make build
|
||||||
@zip -j bin/git-sv_$(VERSION)_$(BUILDOS)_$(BUILDARCH).zip bin/$(BUILDOS)_$(BUILDARCH)/$(BIN)
|
@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:
|
release-all:
|
||||||
@rm -rf bin
|
@rm -rf bin
|
||||||
BUILDOS=linux make release
|
|
||||||
BUILDOS=darwin make release
|
VERSION=$(shell git sv nv) BUILDOS=linux make release
|
||||||
BUILDOS=windows make release
|
VERSION=$(shell git sv nv) BUILDOS=darwin make release
|
||||||
|
VERSION=$(shell git sv nv) BUILDOS=windows make release
|
||||||
|
|
Loading…
Reference in a new issue