Skip to content

Commit 1b60447

Browse files
committed
makefile fixes
1 parent 3cfcdb4 commit 1b60447

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
VERSION=$(shell python3 -c "import tikzplotlib; print(tikzplotlib.__version__)")
1+
VERSION=$(shell python3 -c "from configparser import ConfigParser; p = ConfigParser(); p.read('setup.cfg'); print(p['metadata']['version'])")
22

33
default:
44
@echo "\"make publish\"?"
55

66
tag:
77
# Make sure we're on the master branch
88
@if [ "$(shell git rev-parse --abbrev-ref HEAD)" != "master" ]; then exit 1; fi
9-
@echo "Tagging v$(VERSION)..."
10-
git tag v$(VERSION)
11-
git push --tags
9+
# @echo "Tagging v$(VERSION)..."
10+
# git tag v$(VERSION)
11+
# git push --tags
1212
curl -H "Authorization: token `cat $(HOME)/.github-access-token`" -d '{"tag_name": "$(VERSION)"}' https://api.github.com/repos/nschloe/tikzplotlib/releases
1313

1414
upload: setup.py

0 commit comments

Comments
 (0)