Release procedure
The only publishing workflow is
pages.yml, which publishes this documentation
as a website and runs only when someone starts it. Nothing publishes binaries or
releases, and no other publishing or deployment workflow should be added without
the owner's authorization.
Before a first public release
- Clear the name. "ipfence" is provisional. Check apt, Fedora, Alpine, Arch/AUR, Nix, Homebrew, Go module paths, GitHub, domains and trademark registers. None of these checks has been completed.
- Set the real module path in
go.modand the imports. - Point
Documentation=in the unit at the project's documentation. - Get an independent security review.
Each release
-
Start from a clean, tagged commit. Update the version in the README.
-
Run formatting, vet, unit, integration, race and fuzz tests (Development).
-
In disposable machines for each distribution you list as tested, run
e2e.shincluding the reboot step. Runmatrix.shfor each Docker backend and firewall manager you list. Update the tables in the README and Firewall and Docker with the versions and results actually observed; remove claims you did not retest. -
Build:
Shell commands
VERSION=x.y.z SOURCE_DATE_EPOCH=$(git log -1 --format=%ct) scripts/build.shBuild twice and compare
SHA256SUMS. Checkipfence versionand thatfile dist/ipfence-linux-*reports statically linked executables. -
Distribute the binaries with
LICENSE,THIRD_PARTY_LICENSES.txt,SHA256SUMS(signed), the unit and the documentation. -
Note database schema changes: older binaries refuse newer databases.
Version and commit information is compiled in. The program never checks for updates.