1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-25 22:18:34 +01:00

only push to nuget on master and release branches!

This commit is contained in:
Ellpeck 2020-05-22 01:35:13 +02:00
parent dd63f121da
commit 044e0cd23c

View file

@ -38,6 +38,8 @@ Task("Pack").IsDependentOn("Build").Does(() => {
});
Task("Push").IsDependentOn("Pack").Does(() => {
if(branch != "master" && branch != "release")
return;
NuGetPushSettings settings;
if (branch == "release") {
settings = new NuGetPushSettings {