-
Notifications
You must be signed in to change notification settings - Fork 58
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.
- Run
git checkout master; git remote update; git reset --hard origin/master
, which will force your local master match the remote master. -
$ export VERSION=1.0.0
- adjust as necessary, this variable will be used in the various commands below. - Change
configure.ac
to reflect the new version number and commit:git commit -sm "input-wacom $VERSION" configure.ac
. - Tag the module:
git tag --sign -m "input-wacom $VERSION" v$VERSION
. You will use your PGP key for this step. - 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. - Run
make dist
. Verify the name of the tarball (input-wacom-$VERSION.tar.bz2
). It is also possible you may need to runmake distclean
if something goes wrong withmake dist
. - Build, install, and load the driver from the tarball.
- Verify the version number of the loaded driver with
modinfo wacom | grep version
andcat /sys/module/wacom/version
. - Push to the remote:
git push origin master
. This does not push the tag itself, so: - Push the tag to the remote:
git push origin v$VERSION
- In the actions tab of the input-wacom repository watch for the "tagged-release" workflow to start and finish successfully.
- 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 - Summarize the new features in this release and add it to the release description on Github (via the Edit button again).
- 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 "
- Installing input-wacom from source
- Tips & Tricks
- Debugging
- Contributing