From a281a1ae8285edcce202700130741b2c29ca6fe2 Mon Sep 17 00:00:00 2001 From: Erik O'Shaughnessy Date: Tue, 27 Oct 2015 13:28:57 -0500 Subject: [PATCH] added tag rule --- Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 41c679f..00946fb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ TARGET= GameOfLife -VERSION= 0.0.13 +VERSION= 0.0.14 QVERSION= "'${VERSION}'" VERSION_FILE= VERSION @@ -24,9 +24,10 @@ UPDTINIT = 's/__version__.*=.*/__version__ = ${QVERSION}/' UPDTRDME = 's/Version: .*/Version: ${VERSION}/' all: - @echo "make update - updates the version" + @echo "make update - updates the version VERSION=${VERSION}" @echo "make sdist - creates a source distribution" @echo "make bdist - creates a binary distribution" + @echo "make wheel - creates a wheel distribution" @echo "make test - runs unit tests" @echo "make upload - uploads bdist_wheel to PYPI=${PYPI}" @echo "make clean - removes all derived files and directories" @@ -38,6 +39,12 @@ update: @${SED} -e ${UPDTRDME} ${README} > ${README}.tmp @${MV} ${README}.tmp ${README} +tag: + git add ${PKG_INIT} + git commit -m "Version ${VERSION}" + git tag ${VERSION} + git push origin ${VERSION} + sdist: ${PYSETUP} build sdist