Update creating releases doc with regard to git-flow
This commit is contained in:
parent
f9023e60a2
commit
a874855503
@ -151,20 +151,25 @@ Then, to generate docs::
|
|||||||
Creating releases
|
Creating releases
|
||||||
=================
|
=================
|
||||||
|
|
||||||
1. Update changelog and commit it.
|
#. Update changelog and commit it.
|
||||||
|
|
||||||
2. Tag release::
|
#. Merge the release branch (``develop`` in the example) into master::
|
||||||
|
|
||||||
git tag -a -m "Release v0.1.0a0" v0.1.0a0
|
git checkout master
|
||||||
|
git merge --no-ff -m "Release v0.2.0" develop
|
||||||
|
|
||||||
3. Push to GitHub::
|
#. Tag the release::
|
||||||
|
|
||||||
|
git tag -a -m "Release v0.2.0" v0.2.0
|
||||||
|
|
||||||
|
#. Push to GitHub::
|
||||||
|
|
||||||
git push
|
git push
|
||||||
git push --tags
|
git push --tags
|
||||||
|
|
||||||
4. Build package and upload to PyPI::
|
#. Build package and upload to PyPI::
|
||||||
|
|
||||||
rm MANIFEST # Will be regenerated by setup.py
|
rm MANIFEST # Will be regenerated by setup.py
|
||||||
python setup.py sdist upload
|
python setup.py sdist upload
|
||||||
|
|
||||||
5. Spread the word.
|
#. Spread the word.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user