File tree 2 files changed +42
-1
lines changed 2 files changed +42
-1
lines changed Original file line number Diff line number Diff line change
1
+ Release process for ``numpydoc ``
2
+ ================================
3
+
4
+ - Review and update ``doc/release_notes.rst ``.
5
+
6
+ - Update ``__version__ `` in ``numpydoc/__init__.py ``.
7
+
8
+ - Commit changes::
9
+
10
+ git add numpydoc/__init__.py doc/release_notes.rst
11
+ git commit -m 'Designate <version> release'
12
+
13
+ - Add the version number as a tag in git::
14
+
15
+ git tag -s [-u <key-id>] numpydoc-<version> -m 'signed <version> tag'
16
+
17
+ If you do not have a gpg key, use -u instead; it is important for
18
+ Debian packaging that the tags are annotated
19
+
20
+ - Push the new meta-data to github::
21
+
22
+ git push --tags origin main
23
+
24
+ where ``origin`` is the name of the ``github.com:numpy/numpydoc`` repository
25
+
26
+ - Review the github release page::
27
+
28
+ https://github.com/numpy/numpydoc/releases
29
+
30
+ - Publish on PyPi::
31
+
32
+ git clean -fxd
33
+ python setup.py sdist bdist_wheel
34
+ twine upload -s dist/*
35
+
36
+ - Update ``__version__ `` in ``numpydoc/__init__.py ``.
37
+
38
+ - Commit changes::
39
+
40
+ git add numpydoc/__init__.py
41
+ git commit -m 'Bump version'
Original file line number Diff line number Diff line change 2
2
This package provides the numpydoc Sphinx extension for handling docstrings
3
3
formatted according to the NumPy documentation format.
4
4
"""
5
- __version__ = '1.2rc1 '
5
+ __version__ = '1.2rc2.dev0 '
6
6
7
7
8
8
def setup (app , * args , ** kwargs ):
You can’t perform that action at this time.
0 commit comments