Repository navigation
ci(release): keep the newest adcp major as the Latest release - #2005
Merged
Merged
Conversation
GitHub marks every new release Latest, so once SDK 10 ships from next, each 9.x maintenance release from main would take the Latest badge from 10.0.0. release-please's make-latest option arrived in release-please 17.12, but the pinned release-please-action v5 bundles 17.6 (and the action's main bundles 17.6.1), so the config key would be ignored. After main creates an adcp release, re-mark the highest stable vX.Y.Z adcp release as Latest. Storage tags carry a component prefix and prereleases are excluded, so neither can take the badge. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Once SDK 10.0.0 ships from
next, every 9.x maintenance release frommainwould take GitHub's Latest badge from it, because GitHub marks each new release Latest by default.Why not
"make-latest": false: release-please addedmake-latestin 17.12.0. The pinnedgoogleapis/release-please-action@45996ed1(v5) bundles release-please 17.6.0, and even the action's current main only bundles 17.6.1. The config key would be silently ignored.What this does: after
maincreates anadcprelease, a new step inrelease-please.ymlre-marks the highest stablevX.Y.Zadcp release as Latest (gh release edit <tag> --latest). It uses the release App token, which already hascontents: write.v10.0.0beatsv9.10.2.adcp-reporting-storage-v*tags don't match the pattern, and prereleases and drafts are excluded.Verified: against the real release list, the selector picks
v9.7.1, today's newest stable release. Against a sample containingv9.7.1,v10.0.0,v9.10.2and a storage tag, it picksv10.0.0. The YAML parses.Not covered:
next's ownrelease-please-next.yml. Oncenextreleases 10.0.0 stable, GitHub marks it Latest anyway, which is what we want.Workflow change: needs Brian's review.
🤖 Generated with Claude Code