Skip to content

Commit 93f2a02

Browse files
committed
docs(man): write more about how to make a release
Signed-off-by: Masatake YAMATO <[email protected]>
1 parent f1db2a7 commit 93f2a02

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

docs/releasing.rst

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,36 @@ How to release a new version
1212

1313
----
1414

15-
Update the version number embeded in the following places:
15+
#. Update the version number (e.g. "5.9.0", "5,9,0") embedded in the following files:
1616

17-
* ``configure.ac``
18-
* ``Tmain/sandbox-version.d/stdout-expected.txt``
17+
+ ``configure.ac``
18+
+ ``Tmain/sandbox-version.d/stdout-expected.txt``
19+
+ ``main/ctags.h``
20+
+ ``win32/ctags.rc``
21+
+ ``win32/ctags.exe.manifest``
22+
+ ``win32/config_mvc.h``
23+
+ ``win32/config_mingw.h``
24+
+ ``misc/git-tag-maybe.sh``
25+
26+
#. Regenerate rst files under ``docs/man``.
27+
28+
#. Put a version tag and push it to ``github.com/universal-ctags/ctags``
29+
30+
.. code-block:: console
31+
32+
$ git tag v5.9.0
33+
$ git push upstream --tags
34+
35+
#. Make tarbarll
36+
37+
.. code-block:: console
38+
39+
$ ./configure
40+
$ make clean
41+
$ make dist
42+
43+
You will get a file like universal-ctags-5.9.0.tar.gz.
44+
45+
#. Make a release on the GitHub page
46+
47+
Don't forget to upload the tar.gz file.

0 commit comments

Comments
 (0)