Skip to content

fix(NuGet): add package version normalization for single-part versions#215

Merged
ps610 merged 2 commits intok8sfrom
psto
Dec 8, 2025
Merged

fix(NuGet): add package version normalization for single-part versions#215
ps610 merged 2 commits intok8sfrom
psto

Conversation

@ps610
Copy link
Member

@ps610 ps610 commented Dec 8, 2025

fixes AB#4579

Copilot AI review requested due to automatic review settings December 8, 2025 12:23
@ps610 ps610 enabled auto-merge (squash) December 8, 2025 12:23
@kalileddendani kalileddendani changed the title fix(NuGet): add package version mormalization for single-part versions fix(NuGet): add package version normalization for single-part versions Dec 8, 2025
@ps610 ps610 merged commit 3d5e512 into k8s Dec 8, 2025
6 checks passed
@ps610 ps610 deleted the psto branch December 8, 2025 12:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes package version handling for single-part NuGet versions by adding normalization logic. Previously, single-part versions like "1" could not be properly converted to version ranges. The fix ensures all versions have at least major.minor format (e.g., "1" becomes "1.0") before being processed into NuGet version ranges.

  • Adds version normalization to handle single-part versions
  • Maintains existing behavior for multi-part versions
  • Ensures compatibility with the existing version range calculation logic

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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