Fix npm command

This commit is contained in:
Ryan Brandenburg 2018-04-09 14:56:29 -07:00
parent 8e261175d2
commit 14cc048102
1 changed files with 3 additions and 2 deletions

View File

@ -196,8 +196,9 @@
<Exec Command="npm config set &quot;$(AuthTokenSetting)&quot; $(PublishMyGetFeedKey)"
StandardOutputImportance="Normal" />
<Run FileName="npm"
Arguments="publish;--registry;$(PublishMyGetNpmRegistryUrl);%(NpmPackageToPublish.Identity)"
<!-- When you UseCommandProcessor FileName is ignored -->
<Run FileName="cmd"
Arguments="npm;publish;--registry;$(PublishMyGetNpmRegistryUrl);%(NpmPackageToPublish.Identity)"
MaxRetries="5"
UseCommandProcessor="true"
ContinueOnError="true">