Skip to content

Commit 76b5ea2

Browse files
committed
Bump version
1 parent fd77800 commit 76b5ea2

File tree

2 files changed

+42
-1
lines changed

2 files changed

+42
-1
lines changed

RELEASE.rst

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
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'

numpydoc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This package provides the numpydoc Sphinx extension for handling docstrings
33
formatted according to the NumPy documentation format.
44
"""
5-
__version__ = '1.2rc1'
5+
__version__ = '1.2rc2.dev0'
66

77

88
def setup(app, *args, **kwargs):

0 commit comments

Comments
 (0)