2017-09-07 08:59:58 -04:00
|
|
|
Release instructions
|
|
|
|
====================
|
|
|
|
|
|
|
|
* Update the version number in `setup.py`
|
2018-06-12 06:22:37 -04:00
|
|
|
* Update the version number in `toot/__init__.py`
|
2017-09-07 08:59:58 -04:00
|
|
|
* Update the `CHANGELOG.md` with the release notes & date
|
|
|
|
* Tag a release
|
|
|
|
* Push master & tag to GitHub
|
|
|
|
|
2018-06-12 06:38:58 -04:00
|
|
|
Github release
|
|
|
|
--------------
|
|
|
|
|
|
|
|
* Create a release for new tag, paste changelog since last tag in description
|
|
|
|
* Download assets generated by github (.zip and .tar.gz) and upload them to the relase
|
|
|
|
* Also upload the generated .deb file
|
|
|
|
|
2017-09-07 08:59:58 -04:00
|
|
|
Publishing to PyPI
|
|
|
|
------------------
|
|
|
|
|
|
|
|
* `make dist` to create source and wheel distributions
|
|
|
|
* `make publish` to push them to PyPI
|
|
|
|
|
|
|
|
Publishing to Debian repo
|
|
|
|
-------------------------
|
|
|
|
|
|
|
|
Publishing deb packages is done via [ihabunek/packages](https://github.com/ihabunek/packages)
|
|
|
|
|
|
|
|
* `make deb` to create the debian package
|
|
|
|
* copy deb file to packages project directory
|
|
|
|
* in packages project directory:
|
|
|
|
* `make` to build the repo files
|
|
|
|
* `make publish` to send them to the server
|