chore(release): regenerate release.yml for cargo-dist v0.26.0 prebuilt binary#119
Merged
Merged
Conversation
…t binary compatibility The locally-compiled cargo-dist v0.26.0 and the GitHub prebuilt binary generate different workflow formats. The plan step was detecting the old format and failing with 'out of date contents'. Regenerated from the diff shown in CI logs to match what the prebuilt dist binary expects. Closes DAK-7451 (second root cause).
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.
Problem
After merging PR#117 (dist-workspace.toml fix), the Release workflow still fails:
The locally-compiled
cargo-distv0.26.0 (viacargo install) generates old-format workflow files, while the GitHub prebuilt binary (downloaded via installer in CI) generates a newer format. Thedist plancommand in CI detects this mismatch and aborts.Fix
Regenerate
.github/workflows/release.ymlto match what the prebuiltdistbinary v0.26.0 expects. Key changes:pull_requesttrigger added (for plan-only runs on PRs)**[0-9]+.[0-9]+.[0-9]+*gh release createannouncejobpublish-cratejob (crates.io publish was not working anyway)After merge
Delete the current v0.7.0 tag and retag on the new HEAD → Release workflow should pass.
Closes DAK-7451 (second root cause — workflow regeneration needed after dist-workspace.toml fix).