-
Notifications
You must be signed in to change notification settings - Fork 173
Making Releases
Peter Hutterer edited this page Jan 11, 2023
·
14 revisions
This section describes how to do a new libwacom release. It assumes your meson
build directory is builddir/
.
Run this from a "clean" directory. If you have stale autotools files in your directory, this may result in weird errors
- Update
NEWS
with an outline of changes since the last version - Change
meson.build
to reflect the new version number and commit:git commit -sm "libwacom VERSION" meson.build NEWS
. You ''must not'' have uncommitted changes when releasing a new version. - Run
sudo meson test -C builddir --no-rebuild
to run all tests, including those requiring root. The--no-rebuild
flag prevents rebuilding the code and having permission errors later. - Run
meson install -C builddir
to install the library. Verify thatpkg-config --modversion libwacom
shows the new version - Run
meson dist -C builddir/
(this also runs the test suite). Verify the name of the tarball (libwacom-VERSION.tar.bz2). - Tag the module:
git tag -m "libwacom VERSION" --sign libwacom-VERSION
. This will ask for your GPG password. - Push to the remote:
git push origin master
and for the taggit push origin libwacom-VERSION
. Alternatively you could/should push to your fork and check theActions
tab in github to ensure the CI passes. - Use the release.sh script from xf86-input-wacom to copy the tarball to github.
./release.sh --github github_username:github_token .
. See the other release procedures at linuxwacom's github for more information about the github token. To create a token with API and package write access, go here - Add the NEWS section you added above to the release description on Github.
- Close all Github bugs that were fixed in this release by setting the status to "closed-fixed" and posting the following message: "Fix available in libwacom "
Note that it may take a while until the uploaded tarballs are available through the download links.