mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-25 01:39:23 +01:00
only push to nuget on master and release branches!
This commit is contained in:
parent
dd63f121da
commit
044e0cd23c
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue