Start new release cycle

This commit is contained in:
hugovk 2019-03-07 09:44:45 +02:00
parent 694f67b25a
commit a5c53dbf54
3 changed files with 16 additions and 16 deletions

View file

@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
### TODO
## [3.1.0] - 2019-03-07 ## [3.1.0] - 2019-03-07
### Added ### Added
@ -33,7 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Support for Python 2.7 ([#265]) * Support for Python 2.7 ([#265])
[Unreleased]: https://github.com/pylast/pylast/compare/v3.1.0...HEAD
[3.1.0]: https://github.com/pylast/pylast/compare/v3.0.0...3.1.0 [3.1.0]: https://github.com/pylast/pylast/compare/v3.0.0...3.1.0
[3.0.0]: https://github.com/pylast/pylast/compare/2.4.0...3.0.0 [3.0.0]: https://github.com/pylast/pylast/compare/2.4.0...3.0.0
[2.4.0]: https://github.com/pylast/pylast/compare/2.3.0...2.4.0 [2.4.0]: https://github.com/pylast/pylast/compare/2.3.0...2.4.0

View file

@ -3,8 +3,7 @@
* [ ] Remove `.dev0` suffix from the version and update version and date in the changelog: * [ ] Remove `.dev0` suffix from the version and update version and date in the changelog:
```bash ```bash
git checkout master git checkout master
edit pylast/version.py edit CHANGELOG.md pylast/version.py
edit CHANGELOG.md
``` ```
* [ ] Commit and tag with the version number: * [ ] Commit and tag with the version number:
```bash ```bash
@ -12,31 +11,29 @@ git add CHANGELOG.md pylast/version.py
git commit -m "Release 3.0.0" git commit -m "Release 3.0.0"
git tag -a 3.0.0 -m "Release 3.0.0" git tag -a 3.0.0 -m "Release 3.0.0"
``` ```
* [ ] Create a distribution and release on PyPI:
```bash
pip3 install -U pip setuptools wheel twine keyring
rm -rf build
python3 setup.py sdist --format=gztar bdist_wheel
twine check dist/*
twine upload -r pypi dist/pylast-3.0.0*
```
* [ ] Check installation: `pip3 uninstall -y pylast && pip3 install -U pylast`
* [ ] Push commits and tags: * [ ] Push commits and tags:
```bash ```bash
git push git push
git push --tags git push --tags
``` ```
* [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new * [ ] Create new GitHub release: https://github.com/pylast/pylast/releases/new
* Tag: Pick existing tag "3.0.0" * Tag: Pick existing tag "3.0.0"
* Title: "Release 3.0.0" * Title: "Release 3.0.0"
* [ ] Increment version and append `.dev0`:
* [ ] Check the tagged [Travis CI build](https://travis-ci.org/pylast/pylast) has deployed to [PyPI](https://pypi.org/project/pylast/#history)
* [ ] Check installation: `pip3 uninstall -y pylast && pip3 install -U pylast`
* [ ] Increment version and append `.dev0`, and add Unreleased to the changelog:
```bash ```bash
git checkout master git checkout master
edit pylast/version.py edit CHANGELOG.md pylast/version.py
``` ```
* [ ] Commit and push: * [ ] Commit and push:
```bash ```bash
git add pylast/version.py git add CHANGELOG.md pylast/version.py
git commit -m "Start new release cycle" git commit -m "Start new release cycle"
git push git push
``` ```

View file

@ -1,2 +1,2 @@
# Master version for pylast # Master version for pylast
__version__ = "3.1.0" __version__ = "3.2.0.dev0"