diff --git a/Makefile b/Makefile index f3684c28..73c32de4 100644 --- a/Makefile +++ b/Makefile @@ -58,8 +58,13 @@ check: pydocstyle examples/ publish: cythonize - # Create and upload build - python setup.py sdist upload + # Merge release to master branch + git checkout master + git merge --no-ff release/$(VERSION) + git commit -m 'Release $(VERSION)' + git push origin master # Create and upload tag git tag -a $(VERSION) -m 'version $(VERSION)' git push --tags + # Create and upload build + python setup.py sdist upload