Skip to content
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

Merged
merged 6 commits into from
Aug 29, 2018
Merged

Conversation

tmat
Copy link
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
Member Author

tmat commented Aug 28, 2018

@jaredpar @dotnet/roslyn-infrastructure PTAL

Copy link
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
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
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
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
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
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
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