From 5e4b8495876696541ecc425f5ab142206317bf1d Mon Sep 17 00:00:00 2001 From: scls19fr Date: Wed, 30 Oct 2019 15:15:04 +0100 Subject: [PATCH 1/3] Release 2.9.0 --- release-procedure.md | 9 +++++++-- semver.py | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/release-procedure.md b/release-procedure.md index 682f959f..f88ca81f 100644 --- a/release-procedure.md +++ b/release-procedure.md @@ -1,8 +1,12 @@ +################# +Release procedure +################# + * Verify that latest build was passing https://travis-ci.org/k-bx/python-semver * Verify that `__version__` in [semver.py](https://github.com/k-bx/python-semver/blob/master/semver.py) have been updated and follow https://semver.org/ -* Verify that [CHANGELOG](https://github.com/k-bx/python-semver/blob/master/CHANGELOG) have been updated +* Verify that [CHANGELOG](https://github.com/k-bx/python-semver/blob/master/CHANGELOG.rst) have been updated * If one or several supported Python versions have been removed or added, verify that the 3 following files have been updated: * [setup.py](https://github.com/k-bx/python-semver/blob/master/setup.py) @@ -14,10 +18,12 @@ * Add eventually new contributor(s) to [CONTRIBUTORS](https://github.com/k-bx/python-semver/blob/master/CONTRIBUTORS) * Tag commit and push to github using command line interface + ```bash git tag -a x.x.x -m 'Version x.x.x' git push python-semver master --tags ``` + or using GitHub web interface available at https://github.com/k-bx/python-semver/releases * Upload to PyPI @@ -29,4 +35,3 @@ twine upload dist/* ``` * Go to https://pypi.org/project/semver/ to verify that new version is online and page is rendered correctly - diff --git a/semver.py b/semver.py index bfe1f73c..e0b523e8 100644 --- a/semver.py +++ b/semver.py @@ -10,7 +10,7 @@ import sys -__version__ = '2.8.2' +__version__ = '2.9.0' __author__ = 'Kostiantyn Rybnikov' __author_email__ = 'k-bx@k-bx.com' __maintainer__ = 'Sebastien Celles' From d30d751e826dc2a45975f23aaa11934e81932285 Mon Sep 17 00:00:00 2001 From: scls19fr Date: Wed, 30 Oct 2019 15:27:03 +0100 Subject: [PATCH 2/3] Fix release procedure --- release-procedure.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/release-procedure.md b/release-procedure.md index f88ca81f..c1a9ca61 100644 --- a/release-procedure.md +++ b/release-procedure.md @@ -2,7 +2,9 @@ Release procedure ################# -* Verify that latest build was passing https://travis-ci.org/k-bx/python-semver +* Verify that issues about new release are closed https://github.com/k-bx/python-semver/issues and that no pull requests that should be included in this release haven't been left out https://github.com/k-bx/python-semver/pulls + +* Verify that continuous integration for latest build was passing https://travis-ci.org/k-bx/python-semver * Verify that `__version__` in [semver.py](https://github.com/k-bx/python-semver/blob/master/semver.py) have been updated and follow https://semver.org/ From a4d97e89ba0d9ee702030917a992ac43f241271a Mon Sep 17 00:00:00 2001 From: scls19fr Date: Wed, 30 Oct 2019 15:31:57 +0100 Subject: [PATCH 3/3] Fix release procedure - doc --- release-procedure.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release-procedure.md b/release-procedure.md index c1a9ca61..fca90b93 100644 --- a/release-procedure.md +++ b/release-procedure.md @@ -15,7 +15,7 @@ Release procedure * [tox.ini](https://github.com/k-bx/python-semver/blob/master/tox.ini) * [.travis.yml](https://github.com/k-bx/python-semver/blob/master/.travis.yml) -* Verify that doc reflecting new changes have been updated +* Verify that doc reflecting new changes have been updated and are available at https://python-semver.readthedocs.io/en/latest/ If necessary, trigger doc build at https://readthedocs.org/projects/python-semver/ * Add eventually new contributor(s) to [CONTRIBUTORS](https://github.com/k-bx/python-semver/blob/master/CONTRIBUTORS)