You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[repogen] Two parallel release pipelines with incompatible artifact naming #34
Tags v*.*.* trigger bothrelease.yml (hand-rolled: binaries named repogen-{os}-{arch}, hand-built packages, self-hosted repo, SHA256SUMS) and goreleaser.yml (linux-only repogen_{version}_{os}_{arch}.tar.gz). Which is authoritative is undefined, and the shared publish-to-r2 action's installer depends specifically on the release.yml naming (releases/download/${VERSION}/repogen-linux-${ARCH}) — asset-name drift breaks every downstream repo.
Related dead config: .goreleaser.yml injects -X main.version/commit/date but cmd/repogen/main.go declares no such variables and no --version flag exists — yet the action runs /tmp/repogen --version || /tmp/repogen --help.
Fix: pick one pipeline (org standard is GoReleaser per ADR-0012), make the action's download contract match it, and wire the ldflags stamp vars + --version for real.
Configure GoReleaser to publish raw Linux binaries named exactly:
repogen-linux-amd64
repogen-linux-arm64
Add real version variables and a --version command/flag.
Test the Action installer against a draft/test release.
Only then delete .github/workflows/release.yml.
Remove the hand-built deb/rpm/apk/bottle and repository archives unless a known consumer is found. The
shared Action consumes none of them.
So the distinction is:
Keep today: release.yml, because deleting it now breaks downstream publishing.
Keep long-term: GoReleaser, after it assumes the raw-binary compatibility contract.
Jettison long-term: the hand-rolled release workflow and its unconsumed packaging machinery.
I would treat repogen-linux-{amd64,arm64} as a stable public API. The pipeline producing those files can
change; their names and executable format should not. No repository files were changed during this
investigation.
Activity
bketelsen commentedon Aug 13, 2026
The current production-critical pipeline is .github/workflows/release.yml.
Why:
The shared publish-to-r2 Action downloads:
repogen-linux-${ARCH}
Only release.yml produces:
repogen-linux-amd64 and repogen-linux-arm64
GoReleaser produces tarballs named:
repogen_${version}linux${arch}.tar.gz
At least nine frostyard repositories consume the shared Action, generally from @main.
Every published release currently contains artifacts from both workflows, confirming both pipelines race to
modify the same GitHub release.
My recommendation is:
Keep the Action’s raw-binary asset contract unchanged.
Make GoReleaser the sole release mechanism, consistent with core ADR-0012
(https://github.com/frostyard/core/blob/main/docs/adr/0012-svu-versioning-and-rolling-dev-prerelease.md).
Configure GoReleaser to publish raw Linux binaries named exactly:
Add real version variables and a --version command/flag.
Test the Action installer against a draft/test release.
Only then delete .github/workflows/release.yml.
Remove the hand-built deb/rpm/apk/bottle and repository archives unless a known consumer is found. The
shared Action consumes none of them.
So the distinction is:
I would treat repogen-linux-{amd64,arm64} as a stable public API. The pipeline producing those files can
change; their names and executable format should not. No repository files were changed during this
investigation.