-
Clean the repository
git clean -xfd
-
Bootstrap and build
./autogen.sh ./configure --with-audit --with-rpm --disable-shared make
-
Run the test suite
make check
-
Build with Address Sanitizer
Reconfigure with
--with-asan, rebuild, and run both the daemon and command-line client to ensure there are no ASAN failures../configure --with-audit --with-rpm --disable-shared --with-asan make sudo ./src/fapolicyd --debug-deny sudo ./src/fapolicyd-cli --dump-db
-
Update version numbers
configure.acline 2fapolicyd.specline 12- Document the changes in
ChangeLog.
-
Create the source tarball
./autogen.sh ./configure --with-audit --with-rpm --disable-shared make dist
-
Tag the release
git tag -s -m "fapolicyd-X.Y.Z" vX.Y.Z git push origin vX.Y.Z -
Sign the tarball
sha256sum fapolicyd-X.Y.Z.tar.gz > fapolicyd-X.Y.Z.tar.gz.sum gpg --armor --detach-sign fapolicyd-X.Y.Z.tar.gz gpg --clearsign fapolicyd-X.Y.Z.tar.gz.sum -
Publish on GitHub
Create a new release with the tag, include notes from
ChangeLog, and upload the following files:fapolicyd-X.Y.Z.tar.gzfapolicyd-X.Y.Z.tar.gz.ascfapolicyd-X.Y.Z.tar.gz.sumfapolicyd-X.Y.Z.tar.gz.sum.asc