Skip to content

Commit

Permalink
Work CI-CD
Browse files Browse the repository at this point in the history
- Add option to Cloudsmith CLI to allow republish of package with same version. (usefull for re-running a pipeline)

***NO_CI***
  • Loading branch information
josesimoes authored Nov 30, 2021
1 parent d01d641 commit 05941ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azure-pipelines-templates/publish-cloudsmith.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ steps:
Write-Host "Uploading $(PUBLISHING_PACKAGE_NAME) v$(PACKAGE_VERSION)"
cloudsmith push raw net-nanoframework/$(CLOUDSMITH_REPO) $(Agent.TempDirectory)\$(PUBLISHING_PACKAGE_NAME).zip --name $(TargetPublishName) --version $(PACKAGE_VERSION) --tags $(TargetPlatform),$(TargetSeries) -k $(CLOUDSMITH_KEY)
cloudsmith push raw net-nanoframework/$(CLOUDSMITH_REPO) $(Agent.TempDirectory)\$(PUBLISHING_PACKAGE_NAME).zip --name $(TargetPublishName) --version $(PACKAGE_VERSION) --tags $(TargetPlatform),$(TargetSeries) --republish -k $(CLOUDSMITH_KEY)
errorActionPreference: 'stop'
failOnStderr: 'false'

0 comments on commit 05941ab

Please sign in to comment.