Skip to content

Commit

Permalink
Tune release instructions
Browse files Browse the repository at this point in the history
Retrieve latest version number *after* listing the changes. This way the
old version number will be right above where you'll be typing the new
version number.
  • Loading branch information
walles committed Oct 11, 2019
1 parent 3a06082 commit 5b09240
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ Releasing a new Version
-----------------------
1. Consider updating `the Output section`_, push those changes. Consider updating
the ``ptop`` screenshot, scale your window to 90x24 before shooting it.
2. Do ``git describe --abbrev=0`` to see the most recent version number, and think
about what the next version number should be.
3. Do ``git log --first-parent $(git describe --abbrev=0)..HEAD | cat`` to see
2. Do ``git log --first-parent $(git describe --abbrev=0)..HEAD | cat`` to see
changes since the last release
3. Do ``git describe --abbrev=0`` to see the most recent version number, and think
about what the next version number should be.
4. Do ``git tag --annotate 1.2.3`` to set the next version number. The
text you write for this tag will show up as the release description on Github,
write something nice! And remember that the first line is the subject line for
Expand Down

0 comments on commit 5b09240

Please sign in to comment.