Skip to content

feat(ci): auto-release on lab frontend dispatch with exact version pin - #68

Merged
samcm merged 1 commit into
masterfrom
feat/release-automation
Jul 17, 2026
Merged

feat(ci): auto-release on lab frontend dispatch with exact version pin#68
samcm merged 1 commit into
masterfrom
feat/release-automation

Conversation

@samcm

@samcm samcm commented Jul 17, 2026

Copy link
Copy Markdown
Member

The goreleaser workflow (renamed to release) now also triggers on a frontend-release repository dispatch from ethpandaops/lab and on manual workflow_dispatch: it computes the next tag, pushes it, and releases — no more tagging by hand after every frontend release. The embedded frontend release is resolved once in the workflow and pinned exactly through the Makefile (FRONTEND_TAG), goreleaser ldflags, the Docker build, an io.ethpandaops.frontend.version image label, and a release-notes header. This also fixes frontend_version being empty in production, since it was read from .tmp/frontend-version.txt at runtime, which never exists in the image. Alpha frontend tags (fusaka-v0.0.3) produce suffixed prereleases (v1.3.45-fusaka) via the existing RELEASE_SUFFIX machinery, now driven by prerelease: auto in the goreleaser config instead of appending to a copy of it.

No new secrets needed: the dispatch is received with the default GITHUB_TOKEN, and tags it pushes don't re-trigger the tag-push path. Pushing a tag manually still works as before.

https://claude.ai/code/session_01MW57Wwhb2PA4rjwP7PBv1b

The release workflow now also triggers on a frontend-release dispatch
from ethpandaops/lab (and on workflow_dispatch), computing the next tag
and pushing it itself, so backend releases no longer need a manual tag.
The embedded frontend release is resolved once in the workflow and
pinned exactly through the Makefile, goreleaser ldflags, Docker build
args, an image label, and the release notes header, fixing the empty
frontend_version in production images.

Claude-Session: https://claude.ai/code/session_01MW57Wwhb2PA4rjwP7PBv1b
@samcm
samcm requested a review from mattevans as a code owner July 17, 2026 07:08
@samcm
samcm merged commit 10deb72 into master Jul 17, 2026
3 checks passed
@samcm
samcm deleted the feat/release-automation branch July 17, 2026 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant