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

Skip to content

Commit 90bf693

Browse files
committed
added developer note about tagging releases
1 parent 97d023d commit 90bf693

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

doc/devel/release_guide.rst

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,20 @@ need to create a release branch::
4646
On the branch, do any additional testing you want to do, and then build
4747
binaries and source distributions for testing as release candidates.
4848

49+
For each release candidate as well as for the final release version,
50+
please `git tag` the commit you will use for packaging like so::
51+
52+
git tag -a v1.1.0rc1
53+
54+
The `-a` flag will allow you to write a message about the tag, and
55+
affiliate your name with it. A reasonable tag message would be something
56+
like ``v1.1.0 Release Candidate 1 (September 24, 2011)``. To tag a
57+
release after the fact, just track down the commit hash, and::
58+
59+
git tag -a v1.0.1 a9f3f3a50745
60+
61+
Tags allow developers to quickly checkout different releases by name,
62+
and also provides source download via zip and tarball on github.
4963

5064
.. _release-packaging:
5165

@@ -64,7 +78,7 @@ Packaging
6478
OSX, the default backend should be TkAgg. You should also turn on
6579
or off any platform specific build options you need. Importantly,
6680
you also need to make sure that you delete the :file:`build` dir
67-
after any changes to file:`setup.cfg` before rebuilding since cruft
81+
after any changes to :file:`setup.cfg` before rebuilding since cruft
6882
in the :file:`build` dir can get carried along.
6983

7084
* on windows, unix2dos the rc file

0 commit comments

Comments
 (0)