-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Fix and clean up NuGet package publishing #29562
Conversation
@jaredpar @dotnet/roslyn-infrastructure PTAL |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ($kind -ne "PerBuildPreRelease") { | ||
throw "Branches are only allowed to publish PerBuildPreRelease" | ||
foreach ($nugetKind in $publishData.nugetKind) { | ||
if ($kind -ne "PerBuildPreRelease" -and $kind -ne "Shipping" -and $kind -ne "NonShipping") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not going to block this, but I admit the terminology here is confusing -- I assume "nonshipping" is one with a preview tag but not a per-build tag?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NonShipping/NonShipping is not about the version suffix.
It's about where we deploy the packages. Shipping means shipping on nuget.org. NonShipping means not shipping on nuget.org
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here we want to publish all Shipping and NonShipping to myget.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$kind
needs to be renamed to $nugetKind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jmarolf Good catch.
test ubuntu_16_debug_prtest please |
PR #29408 changed the layout of NuGet output directories but did not update publishing script and data accordingly.