mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-22 20:58:34 +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
|
// this is the upcoming version, for prereleases
|
||||||
var version = Argument("version", "4.2.0");
|
var version = Argument("version", "4.2.0");
|
||||||
var target = Argument("target", "Default");
|
var target = Argument("target", "Default");
|
||||||
var branch = Argument("branch", "master");
|
var branch = Argument("branch", "main");
|
||||||
var config = Argument("configuration", "Release");
|
var config = Argument("configuration", "Release");
|
||||||
|
|
||||||
Task("Prepare").Does(() => {
|
Task("Prepare").Does(() => {
|
||||||
|
@ -38,7 +38,7 @@ Task("Pack").IsDependentOn("Build").Does(() => {
|
||||||
DotNetCorePack(project.FullPath, settings);
|
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;
|
NuGetPushSettings settings;
|
||||||
if (branch == "release") {
|
if (branch == "release") {
|
||||||
settings = new NuGetPushSettings {
|
settings = new NuGetPushSettings {
|
||||||
|
|
Loading…
Reference in a new issue