Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniojbt authored Oct 9, 2017
1 parent d3df6e2 commit 015719f
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -447,23 +447,21 @@ For example, if you want to tag and version a previous commit, do the following:

.. code-block:: bash
# Update version.py if needed
# Check the tag history:
git tag
# Check the commit log and copy the commit reference:
git log --pretty=oneline
# Update version.py if needed
# Check the tag history:
git tag
# Check the commit log and copy the commit reference:
git log --pretty=oneline
# Create a tag, give it a version, internal message and point it to the commit you want to tag:
git tag -a v0.1 -m "code freeze for draft 1, 23 June 2017" 7c3c7b76e4e3b47016b4f899c3aa093a44c5e053
# Create a tag, give it a version, internal message and point it to the commit you want to tag:
git tag -a v0.1 -m "code freeze for draft 1, 23 June 2017" 7c3c7b76e4e3b47016b4f899c3aa093a44c5e053
# Push the tag
# By default, the git push command does not transfer tags to remote servers, so run:
git push origin v0.1
# You'll then need to click around in the GitHub repository to formally
publish the release.
# Push the tag
# By default, the git push command does not transfer tags to remote servers, so run:
git push origin v0.1
# You'll then need to click around in the GitHub repository to formally publish the release.
-----

Expand Down

0 comments on commit 015719f

Please sign in to comment.