Skip to content

Commit

Permalink
added tag rule
Browse files Browse the repository at this point in the history
  • Loading branch information
JnyJny committed Oct 27, 2015
1 parent d4597b6 commit a281a1a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

TARGET= GameOfLife
VERSION= 0.0.13
VERSION= 0.0.14
QVERSION= "'${VERSION}'"
VERSION_FILE= VERSION

Expand All @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit a281a1a

Please sign in to comment.