Repository navigation
ci: publish packages from GitHub Releases - #1149
Merged
Merged
Conversation
Collaborator
Author
|
Final review of be6e967.
All CI checks pass, and the branch merges cleanly with main. VERDICT: MERGE |
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.
Summary
<pkg>-v<version>tag onmain. The tag push, not a Release event or a dispatch, triggers Publish to pub.dev. No automatic tags on merge.mainusing the tag's commit before the existingProductionapproval gate. Preserve dependency checks and first-publication exceptions.mixversion can take the Latest badge; other releases restore it to the newest public stablemixRelease. If a tag has no Release, create one with a pub.dev link and generated notes against the preceding same-package tag (stable-to-stable for stable versions), when available.RELEASING.md. Use release for the full process and publish for the pub.dev step.Required before merge
Configuration changes
.github/workflows/publish.yml: stays on tag pushes. Addsvalidatewithcontents: readand a queuedgithub-releasejob with onlycontents: write. Existing publish and dependency-check permissions are unchanged..github/workflows/prepare-release.yml(renamed fromchangelog.yml): pins the repo's Melos version, passes inputs as environment variables, and prepares link-only entries and draft notes before opening the release PR. Declarescontents: writeandpull-requests: writefor branch pushes and PR creation..github/workflows/release.ymlfrom the previous PR revision. There is no auto-tagging workflow oractions: writepermission in this PR.Validation
actionlint(v1.7.12 does not recognize GitHub'sconcurrency.queuekey); Dart formatting and analysis;dart run scripts/check_publish_workflow.dart(including release script tests);git diff --check.