Skip to content

release.sh: fix version matching #965

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

starius
Copy link
Collaborator

@starius starius commented Jun 17, 2025

A commit_hash component was added to the version string:

loop version 0.31.2-beta commit=v0.31.2-beta-dirty commit_hash=xxx

As .* is greedy, it captured "0.31.2-beta commit=v0.31.2-beta-dirty" instead of just "0.31.2-beta".

This commit fixes this.

Pull Request Checklist

  • Update release_notes.md if your PR contains major features, breaking changes or bugfixes

A commit_hash component was added to the version string:
"loop version 0.31.2-beta commit=v0.31.2-beta-dirty commit_hash=xxx".
As .* is greedy, it captured "0.31.2-beta commit=v0.31.2-beta-dirty"
instead of just "0.31.2-beta".

This commit fixes this.
@starius starius requested a review from alexbosworth June 17, 2025 22:46
@starius starius marked this pull request as ready for review June 18, 2025 03:30
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