mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-22 20:06:40 +00:00
Atmosphere: Update dist zip filename to include commit hash
This commit is contained in:
parent
85540d4ad2
commit
aa761753d7
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -1,4 +1,8 @@
|
||||||
TOPTARGETS := all clean dist
|
TOPTARGETS := all clean dist
|
||||||
|
AMSREV := $(shell git rev-parse --short HEAD)
|
||||||
|
ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
|
||||||
|
AMSREV := $(AMSREV)-dirty
|
||||||
|
endif
|
||||||
|
|
||||||
all: fusee creport
|
all: fusee creport
|
||||||
fusee:
|
fusee:
|
||||||
|
@ -21,7 +25,7 @@ dist: fusee creport
|
||||||
$(eval MICROVER = $(shell grep '\ATMOSPHERE_RELEASE_VERSION_MICRO\b' common/include/atmosphere/version.h \
|
$(eval MICROVER = $(shell grep '\ATMOSPHERE_RELEASE_VERSION_MICRO\b' common/include/atmosphere/version.h \
|
||||||
| tr -s [:blank:] \
|
| tr -s [:blank:] \
|
||||||
| cut -d' ' -f3))
|
| cut -d' ' -f3))
|
||||||
$(eval AMSVER = $(MAJORVER).$(MINORVER).$(MICROVER))
|
$(eval AMSVER = $(MAJORVER).$(MINORVER).$(MICROVER)-$(AMSREV))
|
||||||
rm -rf atmosphere-$(AMSVER)
|
rm -rf atmosphere-$(AMSVER)
|
||||||
rm -rf out
|
rm -rf out
|
||||||
mkdir atmosphere-$(AMSVER)
|
mkdir atmosphere-$(AMSVER)
|
||||||
|
|
Loading…
Reference in a new issue