-
Notifications
You must be signed in to change notification settings - Fork 10
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
Don't run baseline package validation during NuGet publishing for major version changes (OSOE-857) #350
Comments
@sarahelsaig wasn't this an issue for you for https://github.com/Lombiq/Helpful-Libraries/releases/tag/v10.0.0? |
No, when I pushed a major tag it always worked. |
That's what I remembered doing before, but still, I had to do Lombiq/UI-Testing-Toolbox@803e87f to publish a new major version. It failed under https://github.com/Lombiq/UI-Testing-Toolbox/actions/runs/9100082776/job/25014098526 without it. |
This seems to br working well now. |
Still happens sometimes: Lombiq/Orchard-Privacy@c7ea07e#commitcomment-149971985 |
To allow breaking changes in major versions, something that the baseline package validator we use during NuGet publishing doesn't do (see dotnet/sdk#40907), let's not run it in such cases.
So, if
New-NuGetPackage
notices a major version change (e.g. from 1.2.3 to 2.0.0) then disable baseline package validation (but only that, package validation should otherwise run).If dotnet/sdk#40907 is implemented before, then this won't be needed. If it's not yet, then link it from code.
Jira issue
The text was updated successfully, but these errors were encountered: