Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 927 Bytes

File metadata and controls

39 lines (23 loc) · 927 Bytes

Release procedures

These are the steps to build and push out a release of the AngularJS Library.

virtualenv -p /usr/bin/python2.7 --no-site-packages release-python27-env

source release-python27-env/bin/activate

pip install -U pip
pip install twine wheel

python setup.py sdist bdist_egg bdist_wheel

twine upload -r pypi dist/*

Alternatively one can specify the username to use on the public repository, in this case PyPI, using

twine upload -r pypi -u <username> dist/*

Finally to tag the repository use

git tag -a v0.0.5 -m "0.0.5 release"
git push --tags

Note if one forgets to tag a release and needs to do so after later commits have been made, one can use

git tag -a v0.0.5 -m "0.0.5 release" <commit>

to tag a specified commit.