Skip to content

Anchor pre-release regex on end of string - #96

Merged
Sharpie merged 1 commit into
OpenVoxProject:mainfrom
Sharpie:tighten-pre-release-regex
Jul 17, 2026
Merged

Anchor pre-release regex on end of string#96
Sharpie merged 1 commit into
OpenVoxProject:mainfrom
Sharpie:tighten-pre-release-regex

Conversation

@Sharpie

@Sharpie Sharpie commented Jul 17, 2026

Copy link
Copy Markdown
Member

Short description

This commit makes a small change to the regex for determining when to build a pre-release to anchor on the end of the string. This means that only full git tags, such as 9.0.0-beta1, will be matched and not git describe output for releases between tags, like: 9.0.0-beta1-9-g347642bbe

Proper test coverage for version munging is also added.

Checklist

I have:

This commit makes a small change to the regex for determining when to
build a pre-release to anchor on the end of the string. This means that
only full git tags, such as `9.0.0-beta1`, will be matched and not
git describe output for releases between tags, like: `9.0.0-beta1-9-g347642bbe`

Proper test coverage for version munging is also added.

Signed-off-by: Charlie Sharpsteen <charlie@overlookinfratech.com>
@Sharpie Sharpie added the bug Something isn't working label Jul 17, 2026
@Sharpie
Sharpie enabled auto-merge July 17, 2026 14:50
@Sharpie
Sharpie merged commit ba96f5c into OpenVoxProject:main Jul 17, 2026
7 checks passed
@Sharpie
Sharpie deleted the tighten-pre-release-regex branch July 17, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants