Skip to content

fix: bump version to 0.2.0 for prerelease publishing#13

Merged
yfridelance merged 1 commit into
developfrom
fix/version-bump-for-prerelease
Feb 26, 2026
Merged

fix: bump version to 0.2.0 for prerelease publishing#13
yfridelance merged 1 commit into
developfrom
fix/version-bump-for-prerelease

Conversation

@yfridelance
Copy link
Copy Markdown
Owner

Summary

  • Prerelease versions like 0.1.1-preview24 are lower than 0.1.1 in SemVer, so PSGallery rejects them with "version must exceed the current version"
  • Bumps ModuleVersion to 0.2.0 so develop publishes 0.2.0-previewN which exceeds 0.1.1
  • Broadens the skip-duplicate catch pattern to also match version must exceed errors

Test plan

  • CI passes all tests
  • Build & Publish succeeds with 0.2.0-previewN on develop push

🤖 Generated with Claude Code

Prerelease versions (0.1.1-previewN) are semantically LOWER than
the release version (0.1.1) already on PSGallery. Bumping to 0.2.0
so develop publishes 0.2.0-previewN which exceeds 0.1.1.

Also broadened the skip-duplicate catch pattern to match
'version must exceed' error messages from Publish-Module.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@yfridelance yfridelance merged commit 96beafa into develop Feb 26, 2026
4 checks passed
@yfridelance yfridelance deleted the fix/version-bump-for-prerelease branch February 26, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant