Skip to content

Latest commit

 

History

History
85 lines (58 loc) · 1.9 KB

RELEASE.md

File metadata and controls

85 lines (58 loc) · 1.9 KB

Manual Release Process

GONK releases are created manually to avoid GitHub Actions usage.

Checklist

  1. Run local release verification:
make release-check VERSION=1.2.2

This 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
  1. 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}"
  1. Verify checksums locally:
cd dist
sha256sum -c checksums.txt
cd ..
  1. Create and push a version tag:
VERSION=1.2.2
git tag "v${VERSION}"
git push origin "v${VERSION}"
  1. 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}."
  1. Verify the GitHub release contains:
  • archived Linux, macOS, and Windows packages;
  • checksums.txt.

No GitHub Actions workflow is required for this release process.

Artifacts

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.

Optional Container Publishing

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.1

Run make package-release VERSION="${VERSION}" locally to inspect the exact archives before tagging.