@@ -204,6 +204,7 @@ stages:
204
204
205
205
variables :
206
206
GalleryDeploymentPath : ' $(System.DefaultWorkingDirectory)/build/PSGallery'
207
+ ModuleDownloadPath : ' $(Build.ArtifactStagingDirectory)/PSWordCloud'
207
208
208
209
strategy :
209
210
runOnce :
@@ -217,14 +218,14 @@ stages:
217
218
displayName : ' Download Built Module Artifact'
218
219
inputs :
219
220
artifact : ' $(ModuleArtifactName)'
220
- path : ' $(BuiltModulePath )'
221
+ path : ' $(ModuleDownloadPath )'
221
222
222
223
- task : PowerShell@2
223
224
displayName : ' Publish Module to PSGallery'
224
225
225
226
inputs :
226
227
targetType : ' filePath'
227
- arguments : -Key $(PSApiKey) -Path '$(GalleryDeploymentPath)' -ModulePath $(BuiltModulePath )
228
+ arguments : -Key $(PSApiKey) -Path '$(GalleryDeploymentPath)' -ModulePath $(ModuleDownloadPath )
228
229
filePath : ' ./build/Publish-Module.ps1'
229
230
230
231
errorActionPreference : ' stop'
@@ -255,13 +256,13 @@ stages:
255
256
- task : DownloadPipelineArtifact@2
256
257
inputs :
257
258
itemPattern : $(NupkgArtifactName)
258
- targetPath : ' $(Build.ArtifactStagingDirectory) '
259
+ targetPath : $(PackageDownloadPath)
259
260
260
261
- task : GitHubRelease@0
261
262
inputs :
262
263
gitHubConnection : github.com_vexx32
263
- repositoryName : ' $(Build.Repository.Name)'
264
+ repositoryName : $(Build.Repository.Name)
264
265
action : ' edit' # Options: create, edit, delete
265
- tag : ' $(TagName)' # Required when action == Edit || Action == Delete || TagSource == Manual
266
- assets : ' $(Build.ArtifactStagingDirectory )/**' # Optional
266
+ tag : $(TagName) # Required when action == Edit || Action == Delete || TagSource == Manual
267
+ assets : ' $(PackageDownloadPath )/**' # Optional
267
268
assetUploadMode : ' replace' # Optional. Options: delete, replace
0 commit comments