Skip to content

Fix release SemVer regex escaping - #6

Merged
aaron-salisbury merged 1 commit into
mainfrom
fix-release-semver-regex
Sep 19, 2026
Merged

aaron-salisbury merged 1 commit into
mainfrom
fix-release-semver-regex

Conversation

@aaron-salisbury

Copy link
Copy Markdown
Member

The first fix correctly trims the project version, but the SemVer regex itself was over-escaped. In a PowerShell single-quoted string, backslashes are already literal, so \\d matches a literal backslash plus d rather than a digit. Use single backslashes for the regex tokens. This should allow 2.0.0 to pass validation.

@aaron-salisbury
aaron-salisbury merged commit 38c6e96 into main Sep 19, 2026
1 check passed
@aaron-salisbury
aaron-salisbury deleted the fix-release-semver-regex branch September 19, 2026 03:21
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