@@ -47,7 +47,7 @@ extends:
47
47
pool :
48
48
type : windows
49
49
variables :
50
- ob_outputDirectory : $(Build.SourcesDirectory)/module
50
+ ob_outputDirectory : $(Build.SourcesDirectory)/out
51
51
steps :
52
52
- pwsh : |
53
53
$data = Import-PowerShellDataFile -Path src/Microsoft.PowerShell.ConsoleGuiTools/Microsoft.PowerShell.ConsoleGuiTools.psd1
@@ -60,7 +60,7 @@ extends:
60
60
system : Custom
61
61
customVersion : $(package.version)
62
62
- task : UseDotNet@2
63
- displayName : Use .NET 6.x SDK
63
+ displayName : Use .NET SDK
64
64
inputs :
65
65
packageType : sdk
66
66
useGlobalJson : true
@@ -118,7 +118,7 @@ extends:
118
118
inputs :
119
119
gitHubConnection : GitHub
120
120
repositoryName : PowerShell/ConsoleGuiTools
121
- assets : $(drop)/* .nupkg
121
+ assets : $(drop)/Microsoft.PowerShell.ConsoleGuiTools.$(version) .nupkg
122
122
tagSource : userSpecifiedTag
123
123
tag : v$(version)
124
124
isDraft : true
@@ -137,10 +137,19 @@ extends:
137
137
notifyUsers : $(Build.RequestedForEmail)
138
138
instructions : Please validate the release and then publish it!
139
139
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
140
150
- task : NuGetCommand@2
141
- dependsOn : validation
142
151
displayName : Publish ConsoleGuiTools to PowerShell Gallery
143
152
inputs :
144
153
command : push
145
- packagesToPush : $(drop)/* .nupkg
146
- publishFeedCredentials : PSGet-PSGalleryPush
154
+ packagesToPush : $(drop)/Microsoft.PowerShell.ConsoleGuiTools.$(version) .nupkg
155
+ publishFeedCredentials : PowerShellGallery
0 commit comments