mirror of
https://github.com/thegeeklab/git-sv.git
synced 2024-11-12 15:00:39 +00:00
build: add sv version on make release-all
This commit is contained in:
parent
005d4ab939
commit
073deaceca
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 New Issue
Block a user