1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-12-24 17:29:23 +01:00

renamed master to main

This commit is contained in:
Ell 2020-11-07 00:52:04 +01:00
parent f6c4d83775
commit 97932daf8f

View file

@ -4,7 +4,7 @@
// this is the upcoming version, for prereleases
var version = Argument("version", "4.2.0");
var target = Argument("target", "Default");
var branch = Argument("branch", "master");
var branch = Argument("branch", "main");
var config = Argument("configuration", "Release");
Task("Prepare").Does(() => {
@ -38,7 +38,7 @@ Task("Pack").IsDependentOn("Build").Does(() => {
DotNetCorePack(project.FullPath, settings);
});
Task("Push").WithCriteria(branch == "master" || branch == "release").IsDependentOn("Pack").Does(() => {
Task("Push").WithCriteria(branch == "main" || branch == "release").IsDependentOn("Pack").Does(() => {
NuGetPushSettings settings;
if (branch == "release") {
settings = new NuGetPushSettings {