Skip to content

Fix regex for extracting version number from tag#28

Merged
labkey-tchad merged 1 commit intodevelopfrom
fb_fixRegex
Apr 20, 2026
Merged

Fix regex for extracting version number from tag#28
labkey-tchad merged 1 commit intodevelopfrom
fb_fixRegex

Conversation

@labkey-tchad
Copy link
Copy Markdown
Member

Rationale

We want to support special tags to merge changes into monthly release branches:

╰─$ echo $TAG
26.3._26.4

Having two different version numbers in the release tag is throwing off the logic that determines the release version:

╰─$ echo "$TAG" | grep -oE '([0-9]+\.[0-9]+)'
26.3
26.4

Limiting it to the beginning of the tag does the trick:

╰─$ echo "$TAG" | grep -oE '(^[0-9]+\.[0-9]+)'
26.3

Related Pull Requests

Changes

  • Fix regex for extracting version number from tag

@labkey-tchad labkey-tchad self-assigned this Apr 20, 2026
@labkey-tchad labkey-tchad merged commit 5746ca7 into develop Apr 20, 2026
4 checks passed
@labkey-tchad labkey-tchad deleted the fb_fixRegex branch April 20, 2026 17:31
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