Skip to content

Commit 38d00c8

Browse files
add --skip-duplicate to nuget push command
1 parent 61ea94e commit 38d00c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

templates/publish-nuget.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ steps:
2020

2121
- ${{ if eq(parameters.toLive, true) }}:
2222
- bash: |
23-
dotnet nuget push "${{ parameters.packageToPublish }}" --source https://api.nuget.org/v3/index.json --api-key $(NuGetPackagePushKey)
23+
dotnet nuget push "${{ parameters.packageToPublish }}" --source https://api.nuget.org/v3/index.json --api-key $(NuGetPackagePushKey) --skip-duplicate
2424
displayName: 'Publish Release Nuget Package'
2525
2626
- ${{ if eq(parameters.toLive, false) }}:

0 commit comments

Comments
 (0)