mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
Add current branch to make dist zip name
This commit is contained in:
parent
54a22797a7
commit
9898a01d3b
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -1,5 +1,7 @@
|
||||||
TOPTARGETS := all clean dist
|
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)))
|
ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
|
||||||
AMSREV := $(AMSREV)-dirty
|
AMSREV := $(AMSREV)-dirty
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in a new issue