Skip to content

Commit a281a1a

Browse files
committed
added tag rule
1 parent d4597b6 commit a281a1a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22
TARGET= GameOfLife
3-
VERSION= 0.0.13
3+
VERSION= 0.0.14
44
QVERSION= "'${VERSION}'"
55
VERSION_FILE= VERSION
66

@@ -24,9 +24,10 @@ UPDTINIT = 's/__version__.*=.*/__version__ = ${QVERSION}/'
2424
UPDTRDME = 's/Version: .*/Version: ${VERSION}/'
2525

2626
all:
27-
@echo "make update - updates the version"
27+
@echo "make update - updates the version VERSION=${VERSION}"
2828
@echo "make sdist - creates a source distribution"
2929
@echo "make bdist - creates a binary distribution"
30+
@echo "make wheel - creates a wheel distribution"
3031
@echo "make test - runs unit tests"
3132
@echo "make upload - uploads bdist_wheel to PYPI=${PYPI}"
3233
@echo "make clean - removes all derived files and directories"
@@ -38,6 +39,12 @@ update:
3839
@${SED} -e ${UPDTRDME} ${README} > ${README}.tmp
3940
@${MV} ${README}.tmp ${README}
4041

42+
tag:
43+
git add ${PKG_INIT}
44+
git commit -m "Version ${VERSION}"
45+
git tag ${VERSION}
46+
git push origin ${VERSION}
47+
4148
sdist:
4249
${PYSETUP} build sdist
4350

0 commit comments

Comments
 (0)