Skip to content

Commit

Permalink
fix: skip duplicates when pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
carl committed Jun 26, 2024
1 parent 75244ab commit 948627b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/chocolatey.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
- name: "{{ package_id }} : Upload Package to {{ loop_deploy.repository }}"
shell: /usr/share/dotnet/dotnet nuget push {{ nupkg }} -k {{ key }} -s {{ repository }}
shell: /usr/share/dotnet/dotnet nuget push {{ nupkg }} -k {{ key }} -s {{ repository }} -SkipDuplicate
vars:
nupkg: "{{ path_package }}/{{ package_id }}.{{ available_version }}.nupkg"
repository: "{{ loop_deploy.repository | mandatory }}"
Expand Down

0 comments on commit 948627b

Please sign in to comment.