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:
parent
f6c4d83775
commit
97932daf8f
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue