Skip to content

Fix and clean up NuGet package publishing#29562

Merged
tmat merged 6 commits intodotnet:masterfrom
tmat:NuGetPublish
Aug 29, 2018
Merged

Fix and clean up NuGet package publishing#29562
tmat merged 6 commits intodotnet:masterfrom
tmat:NuGetPublish

Conversation

@tmat
Copy link
Copy Markdown
Member

@tmat tmat commented Aug 28, 2018

PR #29408 changed the layout of NuGet output directories but did not update publishing script and data accordingly.

@tmat tmat requested a review from a team as a code owner August 28, 2018 01:45
@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 28, 2018

@jaredpar @dotnet/roslyn-infrastructure PTAL

Copy link
Copy Markdown
Member

@jaredpar jaredpar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

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") {
Copy link
Copy Markdown
Member

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?

Copy link
Copy Markdown
Member Author

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

Copy link
Copy Markdown
Member Author

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.

Copy link
Copy Markdown
Contributor

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

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmarolf Good catch.

@tmat
Copy link
Copy Markdown
Member Author

tmat commented Aug 29, 2018

test ubuntu_16_debug_prtest please

@tmat tmat merged commit f73f0a7 into dotnet:master Aug 29, 2018
@tmat tmat deleted the NuGetPublish branch August 29, 2018 20:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants