Skip to content

fix(NuGet): improve version normalization and range calculation#216

Merged
ps610 merged 1 commit intok8sfrom
psto
Dec 8, 2025
Merged

fix(NuGet): improve version normalization and range calculation#216
ps610 merged 1 commit 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 18:05
@ps610 ps610 requested a review from a team as a code owner December 8, 2025 18:05
@ps610 ps610 enabled auto-merge (squash) December 8, 2025 18:05
@ps610 ps610 requested a review from OleWunschmann December 8, 2025 18:07
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 refactors version normalization and range calculation logic in the NuGet package download functionality. The primary goal is to improve how version ranges are computed by incrementing version parts before normalization, rather than after.

Key Changes

  • Refactored version increment logic to work on original version parts before normalization
  • Separated normalization of fromVersion and toVersion into distinct operations
  • Changed the order of operations: increment first, then normalize (previously: normalize first, then increment)

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

@ps610 ps610 merged commit 4aab5ee into k8s Dec 8, 2025
7 of 8 checks passed
@ps610 ps610 deleted the psto branch December 8, 2025 18:56
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