@@ -56,84 +56,28 @@ steps:
5656- task : NuGetCommand@2
5757 condition : and( succeeded(), ne( variables['StartReleaseCandidate'], true ) )
5858 continueOnError : true
59- displayName : Push "Serial" variant NuGet package to Azure Artifacts
59+ displayName : Push NuGet package to Azure Artifacts
6060 inputs :
6161 command : push
6262 nuGetFeedType : external
6363 allowPackageConflicts : true
6464 packagesToPush :
65- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Serial.$(MY_NUGET_VERSION) .nupkg
66- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Serial.$(MY_NUGET_VERSION) .snupkg
65+ $(Build.ArtifactStagingDirectory)/* .nupkg
66+ $(Build.ArtifactStagingDirectory)/* .snupkg
6767 publishFeedCredentials : ' AzureArtifacts-$(System.TeamProject)'
6868 includeSymbols : true
6969
7070- task : NuGetCommand@2
7171 condition : and( succeeded(), ne( variables['StartReleaseCandidate'], true ) )
7272 continueOnError : true
73- displayName : Push "Stream" variant NuGet package to Azure Artifacts
73+ displayName : Push NuGet packages to Nuget
7474 inputs :
7575 command : push
7676 nuGetFeedType : external
7777 allowPackageConflicts : true
7878 packagesToPush :
79- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Stream.$(MY_NUGET_VERSION).nupkg
80- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Stream.$(MY_NUGET_VERSION).snupkg
81- publishFeedCredentials : ' AzureArtifacts-$(System.TeamProject)'
82- includeSymbols : true
83-
84- - task : NuGetCommand@2
85- condition : and( succeeded(), ne(variables['Build.Reason'], 'PullRequest'), ne( variables['StartReleaseCandidate'], true ) )
86- continueOnError : true
87- displayName : Push base NuGet package to Azure Artifacts
88- inputs :
89- command : push
90- nuGetFeedType : external
91- allowPackageConflicts : true
92- packagesToPush :
93- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.$(MY_NUGET_VERSION).nupkg
94- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.$(MY_NUGET_VERSION).snupkg
95- publishFeedCredentials : ' AzureArtifacts-$(System.TeamProject)'
96- includeSymbols : true
97-
98- - task : NuGetCommand@2
99- condition : and( succeeded(), ne( variables['StartReleaseCandidate'], true ) )
100- continueOnError : true
101- displayName : Push "Serial" variant NuGet package to Azure Artifacts
102- inputs :
103- command : push
104- nuGetFeedType : external
105- allowPackageConflicts : true
106- packagesToPush :
107- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Serial.$(MY_NUGET_VERSION).nupkg
108- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Serial.$(MY_NUGET_VERSION).snupkg
109- publishFeedCredentials : ' NuGet-$(System.TeamProject)'
110- includeSymbols : true
111-
112- - task : NuGetCommand@2
113- condition : and( succeeded(), ne(variables['Build.Reason'], 'PullRequest'), ne( variables['StartReleaseCandidate'], true ) )
114- continueOnError : true
115- displayName : Push "Stream" variant NuGet package to NuGet
116- inputs :
117- command : push
118- nuGetFeedType : external
119- allowPackageConflicts : true
120- packagesToPush :
121- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Stream.$(MY_NUGET_VERSION).nupkg
122- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.Stream.$(MY_NUGET_VERSION).snupkg
123- publishFeedCredentials : ' NuGet-$(System.TeamProject)'
124- includeSymbols : true
125-
126- - task : NuGetCommand@2
127- condition : and( succeeded(), ne(variables['Build.Reason'], 'PullRequest'), ne( variables['StartReleaseCandidate'], true ) )
128- continueOnError : true
129- displayName : Push base NuGet package to NuGet
130- inputs :
131- command : push
132- nuGetFeedType : external
133- allowPackageConflicts : true
134- packagesToPush :
135- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.$(MY_NUGET_VERSION).nupkg
136- $(Build.ArtifactStagingDirectory)/nanoFramework.Logging.$(MY_NUGET_VERSION).snupkg
79+ $(Build.ArtifactStagingDirectory)/*.nupkg
80+ $(Build.ArtifactStagingDirectory)/*.snupkg
13781 publishFeedCredentials : ' NuGet-$(System.TeamProject)'
13882 includeSymbols : true
13983
0 commit comments