Skip to content

fix: improve get_version parsing to support relaxed version formats - #90

Merged
vrahier merged 7 commits into
mainfrom
vrahier/fix-get-version
Jun 16, 2026
Merged

fix: improve get_version parsing to support relaxed version formats#90
vrahier merged 7 commits into
mainfrom
vrahier/fix-get-version

Conversation

@vrahier

@vrahier vrahier commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

get_version is now less strict when parsing version strings from STICS executables.
It no longer requires a “stics” pattern in the version line.
It now correctly interprets SemVer versions, including pre-release identifiers such as -rc1 (e.g. 11.0.0-rc1).
When no commit hash or SemVer version can be extracted, it returns the version label as-is.

@vrahier vrahier self-assigned this Jun 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📝 Styler has automatically formatted the following R files in this PR:

  • R/stics_exe_utilities.R
  • R/stics_wrapper.R

Please pull these changes to your local branch.

@vrahier vrahier changed the title fix: get_version should be less strict fix: relax version parsing in get_version Jun 16, 2026
@vrahier vrahier changed the title fix: relax version parsing in get_version fix: improve get_version parsing to support relaxed version formats Jun 16, 2026
@vrahier
vrahier merged commit 33f630f into main Jun 16, 2026
10 of 12 checks passed
@vrahier
vrahier deleted the vrahier/fix-get-version branch June 16, 2026 09:27
@vrahier
vrahier restored the vrahier/fix-get-version branch June 16, 2026 12:41
@vrahier vrahier mentioned this pull request Jun 16, 2026
vrahier added a commit that referenced this pull request Jun 16, 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.

1 participant