blob: 903c1761d41f928d524558ba4daf03452b4f8837 [file] [log] [blame]
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -05001The release criteria for libdrm is essentially "if you need a release,
2make one". There is no designated release engineer or maintainer.
3Anybody is free to make a release if there's a certain feature or bug
4fix they need in a released version of libdrm.
5
6When new ioctl definitions are merged into drm-next, we will add
7support to libdrm, at which point we typically create a new release.
8However, this is up to whoever is driving the feature in question.
9
10Follow these steps to release a new version of libdrm:
11
Eric Engestrome4f090f2018-12-19 12:16:25 +000012 1) Bump the version number in meson.build. We seem to have settled for
13 2.4.x as the versioning scheme for libdrm, so just bump the micro
14 version.
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050015
Eric Engestrome4f090f2018-12-19 12:16:25 +000016 2) Run `ninja -C builddir/ dist` to generate the tarballs.
17 Make sure that the version number of the tarball name in
18 builddir/meson-dist/ matches the number you bumped to. Move that
19 tarball to the libdrm repo root for the release script to pick up.
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050020
Eric Engestrome4f090f2018-12-19 12:16:25 +000021 3) Push the updated master branch with the bumped version number:
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050022
Eric Anholtf19cd3a2016-07-20 12:24:00 -070023 git push origin master
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050024
25 assuming the remote for the upstream libdrm repo is called origin.
26
Eric Engestrome4f090f2018-12-19 12:16:25 +000027 4) Use the release.sh script from the xorg/util/modular repo to
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050028 upload the tarballs to the freedesktop.org download area and
Damien Lespiaue2acca42015-03-19 16:29:52 +000029 create an announce email template. The script takes one argument:
Damien Lespiau8f245b72015-03-19 16:24:49 +000030 the path to the libdrm checkout. So, if a checkout of modular is
31 at the same level than the libdrm repo:
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050032
Damien Lespiau8f245b72015-03-19 16:24:49 +000033 ./modular/release.sh libdrm
Kristian Høgsbergbe957cc2009-12-03 17:49:31 -050034
35 This copies the two tarballs to freedesktop.org and creates
36 libdrm-2.4.16.announce which has a detailed summary of the
37 changes, links to the tarballs, MD5 and SHA1 sums and pre-filled
38 out email headers. Fill out the blank between the email headers
39 and the list of changes with a brief message of what changed or
40 what prompted this release. Send out the email and you're done!