Skip to content

Commit

Permalink
Use '-SkipDuplicate' when publish nuget package
Browse files Browse the repository at this point in the history
  • Loading branch information
928PJY committed Apr 16, 2021
1 parent b045224 commit c431ec2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Deployment/lib/nuget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class Nuget {

let packages = glob.sync(artifactsFolder + "/**/!(*.symbols).nupkg");
let promises = packages.map((p: string) => {
return Common.execAsync(nugetPath, ["push", p, token, "-Source", url]);
return Common.execAsync(nugetPath, ["push", p, token, "-Source", url, "-SkipDuplicate"]);
});

await Promise.all(promises);
Expand Down

0 comments on commit c431ec2

Please sign in to comment.