fix version tagging?

pull/16/head
Lex Neva 2018-01-13 14:22:00 -05:00
rodzic 2a738619ef
commit 49c7566e51
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -2,14 +2,13 @@ EXTENSIONS:=embroider embroider_params embroider_simulate embroider_update
# This gets the branch name or the name of the tag
VERSION:=$(shell git describe --tags --exact-match > /dev/null 2>&1 || git symbolic-ref -q --short HEAD)
TARBALL:=inkstitch-$(VERSION)-$(shell uname)-$(shell uname -m).tar.gz
SITE_PACKAGES:=$(shell python -c "import os; print(os.path.dirname(os.__file__) + '/site-packages')")
OS:=$(shell uname)
ARCH:=$(shell uname -m)
dist: distclean
bin/build-dist $(EXTENSIONS)
cp *.inx dist
cd dist; tar zcf ../$(TARBALL) *
cd dist; tar zcf ../inkstitch-$(VERSION)-$(OS)-$(ARCH).tar.gz *
# This is only here for debugging the build.
tar zcf build.tar.gz build