Skip to content

For Developers: Making Releases

Ping Cheng edited this page Feb 21, 2024 · 4 revisions

This section describes how to do a new input-wacom release.

  1. Run git checkout master; git remote update; git reset --hard origin/master, which will force your local master match the remote master.
  2. $ export VERSION=1.0.0 - adjust as necessary, this variable will be used in the various commands below.
  3. Change configure.ac to reflect the new version number and commit: git commit -sm "input-wacom $VERSION" configure.ac.
  4. Tag the module: git tag --sign -m "input-wacom $VERSION" v$VERSION. You will use your PGP key for this step.
  5. Run autogen.sh to generate/update the Makefile. This step is necessary to get the modinfo version (eg. v2.00-0.37.0.11.gd0b76d0) correct.
  6. Run make dist. Verify the name of the tarball (input-wacom-$VERSION.tar.bz2). It is also possible you may need to run make distclean if something goes wrong with make dist.
  7. Build, install, and load the driver from the tarball.
  8. Verify the version number of the loaded driver with modinfo wacom | grep version and cat /sys/module/wacom/version.
  9. Push to the remote: git push origin master. This does not push the tag itself, so:
  10. Push the tag to the remote: git push origin v$VERSION
  11. In the actions tab of the input-wacom repository watch for the "tagged-release" workflow to start and finish successfully.
  12. Download the (input-wacom-$VERSION.tar.bz2) and sign it (gpg --detach-sign input-wacom-$VERSION.tar.bz2). Upload the resulting .tar.bz2.sig file to the release assets. Click Edit (pen icon top right) on the release to do so, see https://github.com/linuxwacom/input-wacom/releases/tag/v$VERSION
  13. Summarize the new features in this release and add it to the release description on Github (via the Edit button again).
  14. Close all Github bugs that were fixed in this release and which are fixed in an upstream Linux release by setting the status to "closed-fixed" and posting the following message: "Fix available in Linux and input-wacom "
Clone this wiki locally