Skip to content

Commit 2becb5f

Browse files
committed
🚀 Fix nupkg publishing
1 parent 915ea5c commit 2becb5f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ stages:
247247
inputs:
248248
targetType: 'inline'
249249
script: |
250-
$tagName = ("$(Build.SourceBranch)" -replace '^/refs/tags/').Trim()
250+
$tagName = ("$(Build.SourceBranch)" -replace '^refs/tags/').Trim()
251251
252252
Write-Host "##vso[task.setvariable variable=TagName]$tagname"
253253
@@ -265,5 +265,5 @@ stages:
265265
repositoryName: '$(Build.Repository.Name)'
266266
action: 'edit' # Options: create, edit, delete
267267
tag: '$(TagName)' # Required when action == Edit || Action == Delete || TagSource == Manual
268-
assets: '$(Build.ArtifactStagingDirectory)/**' # Optional
268+
assets: '$(Build.ArtifactStagingDirectory)/**/*.nupkg' # Optional
269269
assetUploadMode: 'replace' # Optional. Options: delete, replace

0 commit comments

Comments
 (0)