1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
# USBGuard Notifier Release Process
1. Clean up any artifact from your local repository.
```
$ git clean -x -f -d
```
2. Update the AC_INIT field in `configure.ac` and `CHANGELOG.md`. Commit your changes.
3. Build the final release tarball.
```
$ ./autogen.sh
$ ./configure
$ make dist
```
4. 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
```
5. 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
```
6. 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
7. Edit(if needed) the new Github release.
|