Update makefile

This commit is contained in:
Roman Mogilatov 2017-06-09 01:45:12 +03:00
parent 007c256c5f
commit 928aaa12b6

View File

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