mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 06:28:35 +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(() => {
|
Task("Push").IsDependentOn("Pack").Does(() => {
|
||||||
|
if(branch != "master" && branch != "release")
|
||||||
|
return;
|
||||||
NuGetPushSettings settings;
|
NuGetPushSettings settings;
|
||||||
if (branch == "release") {
|
if (branch == "release") {
|
||||||
settings = new NuGetPushSettings {
|
settings = new NuGetPushSettings {
|
||||||
|
|
Loading…
Reference in a new issue