0
0
mirror of https://github.com/thegeeklab/git-sv.git synced 2024-11-09 16:00:40 +00:00

build: add sv version on make release-all

This commit is contained in:
Beatriz Vieira 2020-07-16 20:25:19 -03:00
parent 005d4ab939
commit 073deaceca

View File

@ -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