Update makefile

This commit is contained in:
Roman Mogilatov 2017-06-09 01:45:12 +03:00
parent 007c256c5f
commit 928aaa12b6
1 changed files with 7 additions and 2 deletions

View File

@ -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