Add current branch to make dist zip name

This commit is contained in:
Michael Scire 2018-11-08 01:27:36 -08:00
parent 54a22797a7
commit 9898a01d3b

View file

@ -1,5 +1,7 @@
TOPTARGETS := all clean dist
AMSREV := $(shell git rev-parse --short HEAD)
AMSBRANCH := $(shell git symbolic-ref --short HEAD)
AMSREV := $(AMSBRANCH)-$(shell git rev-parse --short HEAD)
ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
AMSREV := $(AMSREV)-dirty
endif