-
Notifications
You must be signed in to change notification settings - Fork 166
release workflow
Lucas Hoffmann edited this page Dec 12, 2025
·
5 revisions
both on GitHub Actions and locally:
python -m unittest
# or
nix flake checkIt should list only user-relevant changes.
git tag -s 0.8 -m "tag v0.8"
git push --tagsGo to https://github.com/pazz/alot/releases/new
- use existing tag 0.8 as base
- use "v0.8" as name
- description = topmost entry from the NEWS file here.
- let github generate an automatic listing of changes from the git history
mkdir tmp && cd tmp
wget https://github.com/pazz/alot/archive/0.8.zip
gpg --armor --detach-sign --local-user patricktotzke 0.8.zip
wget https://github.com/pazz/alot/archive/0.8.tar.gz
gpg --armor --detach-sign --local-user patricktotzke 0.8.tar.gz
Then go to https://github.com/pazz/alot/releases again and attach the *.asc files to the release.
- check out the tag explicitly so that the version in the dist file is right:
git checkout v0.8 - generate the python package files:
python -m build - check the files:
twine check dist/* - upload the files to test.pypi.org:
twine upload --repository-url https://test.pypi.org/legacy/ dist/alot-0.8* - upload the files to pypi.org:
twine upload --repository-url https://pypi.org/legacy/ dist/alot-0.8*
A rough template follows below.
Subject: [alot] announcing v0.8
To: notmuch@notmuchmail.org
Hi everyone!
I have just tagged alot v0.8; You can get a tarball here [0].
SUMMARY OF CHANGES
NEWS entry
As usual, a quick hall of fame of recent contributors:
$ git shortlog -s -n 0.7...
New bug reports, feature or pull requests via the projects github page [1]
are always welcome.
Cheers,
P
[0]: https://github.com/pazz/alot/tarball/0.8
[1]: https://github.com/pazz/alot