Conversation
CI now also runs on pushes to release/v*. release.yml refuses to publish a vX.Y.Z tag unless its commit is on release/vX.Y or release/vX.Y.Z. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Signed-off-by: jgjesdal <jostein@intellistream.ai>
This branch has not been deployed
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.
Releases are now cut from release branches rather than from
main.release.yml: theversionsjob, which every publish job depends on, refuses avX.Y.Ztag unless its commit is onrelease/vX.Yorrelease/vX.Y.Z. A tag onmainalone, or on another minor line's branch, fails before anything is built or published. The tag format and manifest-version checks are unchanged.ci.yml: CI also runs on pushes torelease/v*. PRs were already unfiltered, so PRs into a release branch were already checked.AGENTS.md: the release section describes the convention: one branch per minor line, and push the branch before the tag.Testing
The new check only runs on tag pushes, so this PR's release rehearsal does not exercise it. I tested it against a scratch git repo:
v0.5.1release/v0.5v0.5.1mainonlyv0.6.0release/v0.5v0.5.10release/v0.5v0.50.0release/v0.5Not covered
CI cannot stop someone from creating a
v*tag; it only stops the tag from publishing. Restricting tag creation and protectingrelease/v*branches needs repository rulesets.Docs
No datahub-sdk-docs pages are affected. This changes the release process, not the SDK's surface.
🤖 Generated with Claude Code