- Clean up any artifact from your local repository.
$ git clean -x -f -d
-
Update the AC_INIT field in
configure.ac
andCHANGELOG.md
. Commit your changes. -
Build the final release tarball.
$ ./autogen.sh
$ ./configure
$ make dist
- Tag the release with a signed tag.
$ git tag -s -m "usbguard-notifier-0.x.y" usbguard-notifier-0.x.y
$ git push origin usbguard-notifier-0.x.x
- Hash and sign the release.
$ sha256sum usbguard-notifier-0.x.y.tar.gz > usbguard-notifier-0.x.y.tar.gz.sum
$ gpg --armor --detach-sign usbguard-notifier-0.x.y.tar.gz
$ gpg --clearsign usbguard-notifier-0.x.y.tar.gz.sum
-
Create a new GitHub release using the associated tag; add the relevant section from CHANGELOG.md. Upload:
- usbguard-notifier-0.x.y.tar.gz
- usbguard-notifier-0.x.y.tar.gz.asc
- usbguard-notifier-0.x.y.tar.gz.sum
- usbguard-notifier-0.x.y.tar.gz.sum.asc
-
Edit(if needed) the new Github release.