Repository navigation
ci(release): chain crates.io publish into the tag run - #519
Merged
Merged
Conversation
| # but left crates.io behind (v0.10.1 needed a manual dispatch). | ||
| # Already-published versions are absorbed idempotently by publish.yml. | ||
| - name: Publish to crates.io (chained) | ||
| uses: ./.github/workflows/publish.yml |
| # but left crates.io behind (v0.10.1 needed a manual dispatch). | ||
| # Already-published versions are absorbed idempotently by publish.yml. | ||
| - name: Publish to crates.io (chained) | ||
| uses: ./.github/workflows/publish.yml |
🔍 Cora AI Code Review✅ No issues found. Code looks good! Review powered by cora-code · BYOK · MIT |
…d crates.io publish (cora finding)
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.
What (description of the change)
Close the tag→crates.io gap found while cutting v0.10.1: a tag push fired
release.yml(binaries + GitHub Release) but NOTpublish.yml(crates.io) — the Release is created by softprops INSIDE the release run, and GitHub does not emit arelease: publishedevent for workflows from a run that created it. v0.10.1 needed a manual dispatch.publish.yml: addworkflow_call: {}trigger (release: published + dispatch kept).release.yml: after the GitHub Release step, call./.github/workflows/publish.yml— one tag now runs binaries AND crates.io in the same run; already-published versions are absorbed idempotently by publish.yml's explicit classification.Why (the problem you're solving)
"Harusnya dari tag kan memang?" — yes: one tag should drive BOTH distribution channels. Today it drove only one, and v0.10.1's crates.io publish needed a manual dispatch. This removes the manual step permanently.
Testing (how you verified this works)
core=published tui=published cli=published).