File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 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'] )")
2
2
3
3
default :
4
4
@echo " \" make publish\" ?"
5
5
6
6
tag :
7
7
# Make sure we're on the master branch
8
8
@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
12
12
curl -H " Authorization: token ` cat $( HOME) /.github-access-token` " -d ' {"tag_name": "$(VERSION)"}' https://api.github.com/repos/nschloe/tikzplotlib/releases
13
13
14
14
upload : setup.py
You can’t perform that action at this time.
0 commit comments