This repository follows the same branch-driven release shape as devr-tools/cleanr.
Branch-driven CD entry point.
It currently:
- runs on pushes to
develop,master, andmain - computes prerelease tags automatically for
develop - reuses
.github/workflows/release.ymlfor prerelease packaging - runs Release Please on
mainandmaster
Reusable publisher invoked by CD or manual dispatch.
It currently:
- supports
workflow_dispatchandworkflow_call - normalizes and validates tags before release
- runs GoReleaser using
.goreleaser.yaml - uploads release archives and checksums
- publishes a GHCR image for Linux
amd64andarm64 - publishes a multi-arch GHCR manifest for the release tag
- syncs
Formula/codeguard.rbindevr-tools/homebrew-tapfor stable releases
Pull request validation for the Homebrew packaging path.
It currently:
- runs on pull requests targeting
develop,master, ormain - patches
Formula/codeguard.rbin a temporary checkout ofdevr-tools/homebrew-tap - builds
codeguardfrom a source archive generated from the current checkout - verifies
brew install --build-from-source devr-tools/tap/codeguard - verifies
brew test devr-tools/tap/codeguard
Stable branch release preparation is driven by:
.github/release-please-config.json.release-please-manifest.jsonCHANGELOG.mdinternal/version/version.go
GITHUB_TOKEN: used by the release workflow for GitHub Releases and GHCR publishingRELEASE_PLEASE_TOKEN: used for Release Please PRs and Homebrew tap automation
Each tagged release currently publishes:
darwin/amd64archivedarwin/arm64archivelinux/amd64archivelinux/arm64archiveSHA256SUMSghcr.io/devr-tools/codeguard:<tag>
make build
make release
make release-check