Skip to content

Commit 86493e4

Browse files
tomschrs-celles
andcommitted
Create semver version 2.9.1
* Raise version number in `__version__` * Update CHANGELOG * Mention TestPyPI in `release-procedure.md` * MANIFEST.in: * Exclude `.travis.yml` * Exclude `.github` directory (pretty useless in an archive/wheel) * Exclude `docs/_build` directory * Exclude temporary Python files like `__pycache__`, `*.py[cod]` * Include all `*.txt` and `*.rst` files Co-authored-by: Sebastien Celles <s.celles@gmail.com>
1 parent b5ccad6 commit 86493e4

File tree

4 files changed

+31
-8
lines changed

4 files changed

+31
-8
lines changed

CHANGELOG.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@ Change Log
66
All notable changes to this code base will be documented in this file,
77
in every released version.
88

9-
Version 2.9.1 (WIP)
10-
===================
11-
:Released: 20xy-xy-xy
12-
:Maintainer: ...
9+
10+
Version 2.9.1
11+
=============
12+
:Released: 2020-02-16
13+
:Maintainer: Sébastien Celles <s.celles@gmail.com>
1314

1415
Features
1516
--------
@@ -34,6 +35,9 @@ Bug Fixes
3435
Removals
3536
--------
3637

38+
not available
39+
40+
3741
Version 2.9.0
3842
=============
3943
:Released: 2019-10-30

MANIFEST.in

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
include README.rst
2-
include LICENSE.txt
1+
include *.rst
2+
include *.txt
33
include test_*.py
4+
5+
exclude .travis.yml
6+
prune docs/_build
7+
recursive-exclude .github *
8+
9+
global-exclude *.py[cod] __pycache__ *.so *.dylib

release-procedure.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,19 @@ Release procedure
2121

2222
* Ensure that long description (ie [README.rst](https://github.com/python-semver/python-semver/blob/master/README.rst)) can be correctly rendered by Pypi using `restview --long-description`
2323

24+
* Upload it to TestPyPI first:
25+
26+
```bash
27+
git clean -xfd
28+
python setup.py register sdist bdist_wheel --universal
29+
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
30+
```
31+
32+
If you have a `~/.pypirc` with a `testpyi` section, the upload can be
33+
simplified:
34+
35+
twine upload --repository testpyi dist/*
36+
2437
* Upload to PyPI
2538

2639
```bash

semver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
import sys
99

1010

11-
__version__ = "2.9.0"
11+
__version__ = "2.9.1"
1212
__author__ = "Kostiantyn Rybnikov"
1313
__author_email__ = "k-bx@k-bx.com"
14-
__maintainer__ = "Sebastien Celles"
14+
__maintainer__ = ["Sebastien Celles", "Tom Schraitle"]
1515
__maintainer_email__ = "s.celles@gmail.com"
1616

1717
_REGEX = re.compile(

0 commit comments

Comments
 (0)