Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(dotnet): prefer portable executable product version when semantically greater than file version #2600

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

westonsteimel
Copy link
Contributor

When choosing the main version for a portable executable, always prefer the product version when it is semantically greater than the file version. The file version can remain the same across multiple releases of a nuget package, but the product version increments.

@westonsteimel westonsteimel force-pushed the nuget-package-version-improvement branch 3 times, most recently from 6354337 to ec16ad2 Compare February 7, 2024 11:27
…ally greater than file version

Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
@westonsteimel westonsteimel force-pushed the nuget-package-version-improvement branch from ec16ad2 to f3a05a0 Compare February 7, 2024 11:29
@westonsteimel westonsteimel requested a review from a team February 7, 2024 11:47
@westonsteimel westonsteimel merged commit bbd34f6 into main Feb 7, 2024
11 checks passed
@westonsteimel westonsteimel deleted the nuget-package-version-improvement branch February 7, 2024 13:28
@westonsteimel westonsteimel added the bug Something isn't working label Feb 7, 2024
GijsCalis pushed a commit to GijsCalis/syft that referenced this pull request Feb 19, 2024
…ally greater than file version (anchore#2600)

Signed-off-by: Weston Steimel <weston.steimel@anchore.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants