RELEASE: Update notes on how to do releases

This commit is contained in:
Benjamin Berg 2022-02-09 17:44:57 +01:00
parent 13157bce08
commit 5c4f06a791

33
RELEASE
View file

@ -2,37 +2,32 @@ UPower Release Notes
1. Write NEWS entries for UPower in the same format as usual. 1. Write NEWS entries for UPower in the same format as usual.
git shortlog UPOWER_0_99_7.. | grep -i -v trivial | grep -v Merge > NEWS.new git shortlog v0.99.14.. | grep -i -v trivial | grep -v Merge > NEWS.new
Version 0.99.8 Version 0.99.8
~~~~~~~~~~~~~~ --------------
Released: 2017-xx-xx Released: 2017-xx-xx
New Features: New Features:
Bugfixes: Bugfixes:
2. Commit changes to git: 2. Commit changes to git (bump version in meson.build if needed):
git commit -a -m "Released UPower 0.99.8" git branch -b <user>/v0.99.14
git tag -s -f -m "Released UPower 0.99.8" UPOWER_0_99_8 git commit -a -m "Release 0.99.14"
<wait>
git push --tags
git push
3. Generate the tarball: 3. Run tests and try building a tarball
meson dist meson dist
4. Upload tarball: 4. Create an MR and merge it
5. Tag the release
scp *.tar.* hughsient@annarchy.freedesktop.org:/srv/upower.freedesktop.org/www/releases/ git fetch origin
git check master
git evtag sign v0.99.14
git push --tags
5. Do post release version bump in configure.ac 4. Paste the release notes into the tag information
6. Commit changes:
git commit -a -m "trivial: post release version bump"
git push
7. Send an email to devkit-devel@lists.freedesktop.org
5. Optional: Do a post-release version bump