@@ -47,7 +47,7 @@ extends:
4747 pool :
4848 type : windows
4949 variables :
50- ob_outputDirectory : $(Build.SourcesDirectory)/module
50+ ob_outputDirectory : $(Build.SourcesDirectory)/out
5151 steps :
5252 - pwsh : |
5353 $data = Import-PowerShellDataFile -Path src/Microsoft.PowerShell.ConsoleGuiTools/Microsoft.PowerShell.ConsoleGuiTools.psd1
@@ -60,7 +60,7 @@ extends:
6060 system : Custom
6161 customVersion : $(package.version)
6262 - task : UseDotNet@2
63- displayName : Use .NET 6.x SDK
63+ displayName : Use .NET SDK
6464 inputs :
6565 packageType : sdk
6666 useGlobalJson : true
@@ -118,7 +118,7 @@ extends:
118118 inputs :
119119 gitHubConnection : GitHub
120120 repositoryName : PowerShell/ConsoleGuiTools
121- assets : $(drop)/* .nupkg
121+ assets : $(drop)/Microsoft.PowerShell.ConsoleGuiTools.$(version) .nupkg
122122 tagSource : userSpecifiedTag
123123 tag : v$(version)
124124 isDraft : true
@@ -137,10 +137,19 @@ extends:
137137 notifyUsers : $(Build.RequestedForEmail)
138138 instructions : Please validate the release and then publish it!
139139 timeoutInMinutes : 1440
140+ - job : publish
141+ dependsOn : validation
142+ displayName : Publish to PowerShell Gallery
143+ pool :
144+ type : windows
145+ variables :
146+ ob_outputDirectory : $(Build.SourcesDirectory)/out
147+ steps :
148+ - download : current
149+ displayName : Download artifacts
140150 - task : NuGetCommand@2
141- dependsOn : validation
142151 displayName : Publish ConsoleGuiTools to PowerShell Gallery
143152 inputs :
144153 command : push
145- packagesToPush : $(drop)/* .nupkg
146- publishFeedCredentials : PSGet-PSGalleryPush
154+ packagesToPush : $(drop)/Microsoft.PowerShell.ConsoleGuiTools.$(version) .nupkg
155+ publishFeedCredentials : PowerShellGallery
0 commit comments