Skip to content

feat: Support multi-digit semver tags#107

Merged
zimij merged 1 commit into
mainfrom
feat/multi-digit-semver-tags
May 12, 2026
Merged

feat: Support multi-digit semver tags#107
zimij merged 1 commit into
mainfrom
feat/multi-digit-semver-tags

Conversation

@zimij

@zimij zimij commented May 11, 2026

Copy link
Copy Markdown
Contributor

This return (await exec(git for-each-ref --points-at HEAD 'refs/tags/${tagPrefix ?? ''}[0-9].[0-9].[0-9]*')).stdout.length > 0; only filtered single digit versions.

Tests never actually tested the git for-each-ref --points-at HEAD... call; now they still don't but the call is much simpler and the regex logic can be tested.

ATTENTION: We now enforce real semver semantics and thus this could break projects that don't strictly adhere to semver

@zimij zimij requested review from devlr and potoku May 11, 2026 14:48
@zimij zimij merged commit 1986dd4 into main May 12, 2026
2 checks passed
@zimij zimij deleted the feat/multi-digit-semver-tags branch May 12, 2026 06:38
@github-actions github-actions Bot mentioned this pull request May 12, 2026
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.

2 participants