Skip to content

Validate release versions before publishing - #40

Merged
Marc-André Moreau (mamoreau-devolutions) merged 1 commit into
masterfrom
copilot/verify-version-bump
Sep 23, 2026
Merged

Marc-André Moreau (mamoreau-devolutions) merged 1 commit into
masterfrom
copilot/verify-version-bump

Conversation

@mamoreau-devolutions

Copy link
Copy Markdown
Contributor

Summary

  • Add a read-only -Check mode to scripts/bump-version.ps1 that validates every version location it updates, including workspace entries in Cargo.lock.
  • Fail version bumps when cargo metadata fails instead of reporting a refreshed lockfile.
  • Run the check during release preflight, and align the PowerShell manifest, NuGet fallback, and README example with 0.7.0.

Verification

  • pwsh ./scripts/bump-version.ps1 -Version 0.7.0 -Check
  • In an isolated copy, confirmed stale Cargo.lock and a failed Cargo invocation return errors; verified prerelease metadata handling.
  • git diff --check

The previously published v0.7.0 release assets are unchanged.

Fail version bumps when Cargo.lock cannot be refreshed, and use the bump script to check all release version inputs before packaging. Align remaining 0.7.0 metadata.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) merged commit 44727d0 into master Sep 23, 2026
36 checks passed
@mamoreau-devolutions
Marc-André Moreau (mamoreau-devolutions) deleted the copilot/verify-version-bump branch September 23, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant