Skip to content

Commit

Permalink
Build should skip GPR publish if it's been published already
Browse files Browse the repository at this point in the history
  • Loading branch information
mrb0nj committed Feb 9, 2021
1 parent 9de01fd commit ce024ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ Task("DeployGPR")
};
NuGetAddSource("GPR", "https://nuget.pkg.github.com/mrb0nj/index.json", settings);
NuGetPush($"artifacts/Slack.Webhooks.{gitVersion.NuGetVersionV2}.nupkg", new NuGetPushSettings {
Source = "GPR"
Source = "GPR",
SkipDuplicate = true
});
}
else
Expand Down

0 comments on commit ce024ec

Please sign in to comment.