Skip to content

fix: normalize spaced pre-release suffix in version.php check - #110

Merged
skjnldsv merged 1 commit into
mainfrom
fix/version-check-spaced-prerelease-suffix
Aug 25, 2026
Merged

fix: normalize spaced pre-release suffix in version.php check#110
skjnldsv merged 1 commit into
mainfrom
fix/version-check-spaced-prerelease-suffix

Conversation

@skjnldsv

Copy link
Copy Markdown
Collaborator

WIP — AI-assisted draft, human to review/own before merge.

Take over from here.

version.php exposes betas/alphas as "35.0.0 beta 4" (spaces around the
suffix and its number), but the release tag is contiguous "35.0.0beta4".
The old sed only stripped a contiguous suffix, so the two never collapsed
to the same bare version and the build init step failed with
"version.php says 35.0.0 beta 4 but releasing 35.0.0beta4".

Normalize by lowercasing, dropping all whitespace, then stripping the
suffix, so both forms reduce to "x.y.z" before comparison.

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
@skjnldsv
skjnldsv marked this pull request as ready for review August 25, 2026 11:51
@skjnldsv
skjnldsv merged commit 964a1ef into main Aug 25, 2026
7 checks passed
@skjnldsv
skjnldsv deleted the fix/version-check-spaced-prerelease-suffix branch August 25, 2026 11:53
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