GONK releases are created manually to avoid GitHub Actions usage.
- Run local release verification:
make release-check VERSION=1.2.2This runs tests, benchmarks, builds binaries, packages archives, verifies checksums, and builds the Docker image. If Docker is not available on the release machine:
SKIP_DOCKER=1 make release-check VERSION=1.2.2- If you need to rebuild only the release archives:
Replace 1.2.2 with the new version:
VERSION=1.2.2
make package-release VERSION="${VERSION}"- Verify checksums locally:
cd dist
sha256sum -c checksums.txt
cd ..- Create and push a version tag:
VERSION=1.2.2
git tag "v${VERSION}"
git push origin "v${VERSION}"- Create the GitHub release manually and upload every file from
dist/.
With GitHub CLI:
VERSION=1.2.2
gh release create "v${VERSION}" dist/* \
--title "v${VERSION}" \
--notes "Manual release for v${VERSION}."- Verify the GitHub release contains:
- archived Linux, macOS, and Windows packages;
checksums.txt.
No GitHub Actions workflow is required for this release process.
make package-release builds Linux, macOS, and Windows binaries, then writes SHA-256 checksums and archives:
gonk_<version>_linux_amd64.tar.gz;gonk_<version>_linux_arm64.tar.gz;gonk_<version>_darwin_amd64.tar.gz;gonk_<version>_darwin_arm64.tar.gz;gonk_<version>_windows_amd64.zip;gonk_<version>_windows_arm64.zip;checksums.txt.
Publishing container images is optional and should be done manually only when needed.
Build and push a local image:
docker build -f deployments/docker/Dockerfile -t ghcr.io/justvugg/gonk:v1.2.1 .
docker push ghcr.io/justvugg/gonk:v1.2.1Run make package-release VERSION="${VERSION}" locally to inspect the exact archives before tagging.