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

fixed non-MLEM packages being deleted in build

This commit is contained in:
Ell 2022-09-09 17:55:14 +02:00
parent d94e882c02
commit a274517861

View file

@ -16,7 +16,7 @@ Task("Prepare").Does(() => {
version += "-" + buildNum; version += "-" + buildNum;
} }
DeleteFiles("**/*.nupkg"); DeleteFiles("**/MLEM*.nupkg");
}); });
Task("Build").IsDependentOn("Prepare").Does(() =>{ Task("Build").IsDependentOn("Prepare").Does(() =>{
@ -62,7 +62,7 @@ Task("Push").WithCriteria(branch == "main" || branch == "release").IsDependentOn
}; };
} }
settings.SkipDuplicate = true; settings.SkipDuplicate = true;
NuGetPush(GetFiles("**/*.nupkg"), settings); NuGetPush(GetFiles("**/MLEM*.nupkg"), settings);
}); });
Task("Document").Does(() => { Task("Document").Does(() => {