Repository navigation
ci(release): keep 0.117 patch releases from replacing latest - #2040
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Coverage Report for CI Build 41629487290Warning No base build found for commit Coverage: 50.237%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats
💛 - Coveralls |
Problem
We need to cut v0.117.3 from
release-v0-117-x, since production runs 0.117. A release tag currently does four things that treat the patch as the newest version, even though v0.119.0 is out:web-sdk.ymlruns on everyv*.*.*tag. It checks outmain, not the tagged commit, gives that build the tag's version, and publishes it to npm. npm marks itlatest. This happened for v0.117.2 on 2026-10-27, which published@raystack/frontier@0.117.2built frommainand movedlatestuntil v0.119.0 was published 23 minutes later.frontierformula toraystack/homebrew-tapand the manifest toraystack/scoop-bucket. v0.117.2 rolled both back from 0.118.0 until v0.119.0 moved them forward again.#2029 already stopped the patch from moving the
latestDocker tag.Change
On this release branch only:
.github/workflows/web-sdk.yml, so a tag here does not publish to npm.skip_upload: trueon the brew and scoop entries in.goreleaser.yml.release.make_latest: falsein both GoReleaser configs.A tag here still creates the GitHub release with its binaries,
.deband.rpmfiles, and pushesraystack/frontier:<tag>,<tag>-amd64and<tag>-arm64to Docker Hub. It also still pushesraystack/frontier:dev, which is unchanged.mainis unchanged, so releases frommainkeep publishing to npm, Homebrew and Scoop, and keep taking the "Latest" label.Testing
goreleaser check(v1.26.2, the version CI resolves for~> v1) passes for.goreleaser-fast.yml. For.goreleaser.ymlit reports only thebrews.folderdeprecation, which was already there before this change.