Blame RELEASING

Packit Service 856e4e
The release criteria for libdrm is essentially "if you need a release,
Packit Service 856e4e
make one".  There is no designated release engineer or maintainer.
Packit Service 856e4e
Anybody is free to make a release if there's a certain feature or bug
Packit Service 856e4e
fix they need in a released version of libdrm.
Packit Service 856e4e
Packit Service 856e4e
When new ioctl definitions are merged into drm-next, we will add
Packit Service 856e4e
support to libdrm, at which point we typically create a new release.
Packit Service 856e4e
However, this is up to whoever is driving the feature in question.
Packit Service 856e4e
Packit Service 856e4e
Follow these steps to release a new version of libdrm:
Packit Service 856e4e
Packit Service 856e4e
  1) Bump the version number in meson.build. We seem to have settled for
Packit Service 856e4e
     2.4.x as the versioning scheme for libdrm, so just bump the micro
Packit Service 856e4e
     version.
Packit Service 856e4e
Packit Service 856e4e
  2) Run `ninja -C builddir/ dist` to generate the tarballs.
Packit Service 856e4e
     Make sure that the version number of the tarball name in
Packit Service 856e4e
     builddir/meson-dist/ matches the number you bumped to. Move that
Packit Service 856e4e
     tarball to the libdrm repo root for the release script to pick up.
Packit Service 856e4e
Packit Service 856e4e
  3) Push the updated master branch with the bumped version number:
Packit Service 856e4e
Packit Service 856e4e
	git push origin master
Packit Service 856e4e
Packit Service 856e4e
     assuming the remote for the upstream libdrm repo is called origin.
Packit Service 856e4e
Packit Service 856e4e
  4) Use the release.sh script from the xorg/util/modular repo to
Packit Service 856e4e
     upload the tarballs to the freedesktop.org download area and
Packit Service 856e4e
     create an announce email template.  The script takes one argument:
Packit Service 856e4e
     the path to the libdrm checkout. So, if a checkout of modular is
Packit Service 856e4e
     at the same level than the libdrm repo:
Packit Service 856e4e
Packit Service 856e4e
	./modular/release.sh libdrm
Packit Service 856e4e
Packit Service 856e4e
     This copies the two tarballs to freedesktop.org and creates
Packit Service 856e4e
     libdrm-2.4.16.announce which has a detailed summary of the
Packit Service 856e4e
     changes, links to the tarballs, MD5 and SHA1 sums and pre-filled
Packit Service 856e4e
     out email headers.  Fill out the blank between the email headers
Packit Service 856e4e
     and the list of changes with a brief message of what changed or
Packit Service 856e4e
     what prompted this release.  Send out the email and you're done!