Skip to content

download: improve decide_checkout ref resolution#253

Merged
soimkim merged 1 commit intomainfrom
ver
Feb 5, 2026
Merged

download: improve decide_checkout ref resolution#253
soimkim merged 1 commit intomainfrom
ver

Conversation

@soimkim
Copy link
Contributor

@soimkim soimkim commented Feb 5, 2026

Description

download: improve decide_checkout ref resolution

  • Search over combined tag_set and branch_set (ref_set)
  • Normalize base by stripping v/v./v for prefix-variant matching
  • Add major.minor matching per Semver 2.0.0; support Name-X.Y.Z-style refs
  • Prefer exact major.minor.patch match, then highest patch
  • Priority: exact → prefix variant → major.minor → endswith

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation update
  • Refactoring, Maintenance
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

@soimkim soimkim self-assigned this Feb 5, 2026
@soimkim soimkim added the enhancement [PR/Issue] New feature or request label Feb 5, 2026
@soimkim soimkim merged commit 15aee72 into main Feb 5, 2026
6 checks passed
@soimkim soimkim deleted the ver branch February 5, 2026 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement [PR/Issue] New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant