@@ -41,6 +41,54 @@ CI. See the configuration in `pyproject.toml` and `setup.cfg`:
4141
4242## Releasing
4343
44+ Since this software is used by tens of thousands of users daily, we don't want
45+ to release breaking changes. Additionally this is packaged on large Linux/BSD
46+ distros, so we must be mindful of architectural changes.
47+
48+ Choose what the next version is. Assuming it's version 0.9.0, it could be:
49+
50+ - 0.9.0post0: postrelease, if there was a packaging issue
51+ - 0.9.1: bugfix / security / tweak
52+ - 0.10.0: breaking changes, new features
53+
54+ Let's assume we pick 0.9.1
55+
56+ ` CHANGES ` : Assure any PRs merged since last release are mentioned. Give a
57+ thank you to the contributor. Set the header with the new version and the date.
58+ Leave the "current" header and _ Insert changes/features/fixes for next release here_ at
59+ the top::
60+
61+ current
62+ -------
63+ - *Insert changes/features/fixes for next release here*
64+
65+ libtmux 0.9.1 (2020-10-12)
66+ --------------------------
67+ - :issue:`1`: Fix bug
68+
69+ ` libtmux/__init__.py ` and ` __about__.py ` - Set version
70+
71+ ` git commit -m 'Tag v0.9.1' `
72+
73+ ` git tag v0.9.1 `
74+
75+ ` pip install wheel twine `
76+
77+ ` python setup.py sdist bdist_wheel `
78+
79+ ` twine upload dist/* `
80+
81+ ### Twine
82+
83+ ` twine upload dist/* `
84+
85+ You will be asked for PyPI login information.
86+
87+ ### Releasing with Poetry (hypothetical)
88+
89+ This isn't used yet since package maintainers may want setup.py in the source.
90+ See https://github.com/tmux-python/tmuxp/issues/625 .
91+
4492As of 0.10, [ poetry] handles virtualenv creation, package requirements, versioning,
4593building, and publishing. Therefore there is no setup.py or requirements files.
4694
@@ -53,6 +101,7 @@ Update `__version__` in `__about__.py` and `pyproject.toml`::
53101 poetry build
54102 poetry deploy
55103
104+ [ twine ] : https://twine.readthedocs.io/
56105[ poetry ] : https://python-poetry.org/
57106[ entr(1) ] : http://eradman.com/entrproject/
58107[ black ] : https://github.com/psf/black
0 commit comments