8000 Upgrade MinVer in preparation for including target framework net6.0 by plioi · Pull Request #289 · fixie/fixie · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Upgrade MinVer in preparation for including target framework net6.0 #289

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

Merged
merged 3 commits into from
Oct 10, 2022

Conversation

plioi
Copy link
Contributor
@plioi plioi commented Oct 10, 2022

While experimenting with mult-targeting the Fixie.TestAdapter project, a bug in our old MinVer reference appeared which prevented that package from getting an appropriate version number. Thankfully a simple upgrade of MinVer addresses the issue. Additionally, the newer version of MinVer no longer requires an additional workaround in our build script, so we can simplify all dotnet pack lines to be alike.

Steps Taken:

  1. Reveal a bug in version numbering by pluralizing TargetFramework to TargetFrameworks within Fixie.TestAdapter:

    Unlike typical projects, Fixie.TestAdapter is packaged with the combination of dotnet pack and a manual *.nuspec file. Although that is generally supported, the moment we pluralize to TargetFrameworks MinVer fails to pick up on the intended version and we end up with the incorrect package Fixie.TestAdapter.1.0.0.nupkg.

  2. Fix the ability to version the Fixie.TestAdapter package, by upgrading MinVer:

    Changes to IncludeAssets come from following the https://www.nuget.org/packages/MinVer/ installation guidance exactly.

  3. Simplify build script now that MinVer can successfully infer the Fixie.TestAdapter version number correctly during a dotnet pack with --no-build specified.

plioi added 3 commits October 10, 2022 12:41
… `TargetFrameworks` within Fixie.TestAdapter:

Unlike typical projects, Fixie.TestAdapter is packaged with the combination of `dotnet pack` and a manual `*.nuspec` file. Although that is generally supported, the moment we pluralize to `TargetFrameworks` MinVer fails to pick up on the intended version and we end up with the incorrect package `Fixie.TestAdapter.1.0.0.nupkg`.
…g MinVer:

Changes to `IncludeAssets` come from following the https://www.nuget.org/packages/MinVer/ installation guidance exactly.
…ie.TestAdapter` version number correctly during a `dotnet pack` with `--no-build` specified.
@plioi plioi changed the title Upgrade MinVer Upgrade MinVer in preparation for targeting net6.0 Oct 10, 2022
@plioi plioi changed the title Upgrade MinVer in preparation for targeting net6.0 Upgrade MinVer in preparation for including target framework net6.0 Oct 10, 2022
@plioi plioi merged commit 390c391 into main Oct 10, 2022
@plioi plioi deleted the upgrade-minver branch October 10, 2022 18:06
@plioi plioi mentioned this pull request Oct 10, 2022
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.

1 participant
0