summaryrefslogtreecommitdiff
path: root/RELEASE
blob: 0e0acdae8230426e10e94acaca8b4f62646aa9d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
PackageKit Release Notes

1. Write NEWS entries for PackageKit in the same format as usual.

git shortlog PACKAGEKIT_1_2_2.. | grep -i -v trivial | grep -v Merge > NEWS.new

--------------------------------------------------------------------------------
Version 1.2.3
~~~~~~~~~~~~~
Released: 2020-xx-xx

Notes:

Libraries:

Backends:

New Features:

Bugfixes:
--------------------------------------------------------------------------------

2. Update translations and commit them with sign-off:

ninja PackageKit-pot
tx push --source
tx pull --all --force --minimum-perc=5
ninja-build fix-translations
git add ../po/*.po

3. Update library version if new ABI or API in meson.build

4. Commit changes in PackageKit git:

# MAKE SURE THESE ARE CORRECT
export release_version="1.2.3"
export release_tag="PACKAGEKIT_1_2_3"

git commit -a -m "Release ${release_version}"
git tag -s -f -m "Release ${release_version}" "${release_tag}"
git push --tags
git push
git push git+ssh://hughsient@git.freedesktop.org/git/packagekit
git push --tags git+ssh://hughsient@git.freedesktop.org/git/packagekit

5. run 'ninja dist'

5a. Generate the additon verification metadata

sha1sum meson-dist/PackageKit-${release_version}.tar.xz > meson-dist/PackageKit-${release_version}.tar.xz.sha1
sha256sum meson-dist/PackageKit-${release_version}.tar.xz > meson-dist/PackageKit-${release_version}.tar.xz.sha256
gpg -b -a meson-dist/PackageKit-${release_version}.tar.xz

6. Upload tarball to:

scp meson-dist/PackageKit-${release_version}.tar.* hughsient@annarchy.freedesktop.org:/srv/www.freedesktop.org/www/software/PackageKit/releases/

7. Do post release version bump in meson.build

8. Commit trivial changes:

git commit -a -m "trivial: post release version bump"
git push

9. Send an email to packagekit@lists.freedesktop.org

=================================================
PackageKit 1.2.3 released!

Tarballs available here: http://www.freedesktop.org/software/PackageKit/releases/

=================================================