Skip to content

Commit

Permalink
🚀 Fix nupkg publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
vexx32 committed May 31, 2020
1 parent 915ea5c commit 2becb5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ stages:
inputs:
targetType: 'inline'
script: |
$tagName = ("$(Build.SourceBranch)" -replace '^/refs/tags/').Trim()
$tagName = ("$(Build.SourceBranch)" -replace '^refs/tags/').Trim()
Write-Host "##vso[task.setvariable variable=TagName]$tagname"
Expand All @@ -265,5 +265,5 @@ stages:
repositoryName: '$(Build.Repository.Name)'
action: 'edit' # Options: create, edit, delete
tag: '$(TagName)' # Required when action == Edit || Action == Delete || TagSource == Manual
assets: '$(Build.ArtifactStagingDirectory)/**' # Optional
assets: '$(Build.ArtifactStagingDirectory)/**/*.nupkg' # Optional
assetUploadMode: 'replace' # Optional. Options: delete, replace

0 comments on commit 2becb5f

Please sign in to comment.