Skip to content

Commit 9898a01

Browse files
committed
Add current branch to make dist zip name
1 parent 54a2279 commit 9898a01

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
TOPTARGETS := all clean dist
2-
AMSREV := $(shell git rev-parse --short HEAD)
2+
AMSBRANCH := $(shell git symbolic-ref --short HEAD)
3+
AMSREV := $(AMSBRANCH)-$(shell git rev-parse --short HEAD)
4+
35
ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
46
AMSREV := $(AMSREV)-dirty
57
endif

0 commit comments

Comments
 (0)