From b8366589fc391efec94d6810c086f4afb4ea93d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Vel=C3=A1zquez?= <38739674+antoniovs1029@users.noreply.github.com> Date: Mon, 7 Dec 2020 18:55:53 -0600 Subject: [PATCH] Fix publishing problems (#5538) * Removed our dependency to BuildTools by using the NugetCommand Azure Task. * We should publish a nuget named "SampleUtils", but we were publishing it with the name "SamplesUtils" * The naming conventions of our published nugets didn't match the ones described on arcade's docs: Versioning.md. I've also added the option so that when queuing the publishing build, we can pass the VERSIONKIND variable with value "release", so that it produces the nugets with arcade's conventions for "Release official build" nugets (as opposed to the "Daily official build" naming convention that's going to be used now by our CI that publishes nightly nugets). --- build/publish.proj | 37 ------------------- build/vsts-ci.yml | 22 ++++++++--- .../Microsoft.ML.SamplesUtils.csproj | 5 +++ 3 files changed, 21 insertions(+), 43 deletions(-) diff --git a/build/publish.proj b/build/publish.proj index 9ac58604ef..47849ca21b 100644 --- a/build/publish.proj +++ b/build/publish.proj @@ -1,13 +1,7 @@ - - - - - - Microsoft.SymbolUploader.Build.Task true @@ -15,37 +9,6 @@ - - - - - - - - - - - Pushing took too long - - - - - - - $(MSBuildThisFileDirectory)..\.dotnet\dotnet - $(DotnetToolCommand) nuget push --source $(NuGetFeedUrl) --api-key $(NuGetApiKey) --timeout $(NuGetPushTimeoutSeconds) - - - - netstandard2.0 Microsoft.ML.SampleUtils Sample utils for Microsoft.ML.Samples + + + Microsoft.ML.SampleUtils