File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ VENV = build/venv
55
66.PHONY : release coverage install docs test test_all test_25 test_26 test_27 test_31 test_32 test_33 2to3 clean
77
8- release : venv
8+ release : clean venv
99 $(VENV ) /bin/python3 setup.py --version | egrep -q -v ' [a-zA-Z]' # Fail on dev/rc versions
1010 git commit -e -m " Release of $( VERSION) " # Fail on nothing to commit
1111 git tag -a -m " Release of $( VERSION) " $(VERSION ) # Fail on existing tags
1212 git push origin HEAD # Fail on out-of-sync upstream
1313 git push origin tag $(VERSION ) # Fail on dublicate tag
1414 $(VENV ) /bin/python3 setup.py sdist bdist_wheel # Build project
15- $(VENV ) /bin/twine upload # Release to pypi
15+ $(VENV ) /bin/twine upload dist/ $( VERSION ) * # Release to pypi
1616
1717venv : $(VENV ) /.installed
1818$(VENV ) /.installed : Makefile
You can’t perform that action at this time.
0 commit comments