Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jp2masa committed Sep 5, 2024
1 parent fec87d2 commit 45f012f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions build/_build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ class Build : NukeBuild
() => DotNetTasks.DotNetRestore(
x => x
.SetProjectFile(MovereSlnPath)
.AddProperty("Configuration", Configuration)
.AddProperty("PackageVersionSuffix", PackageVersionSuffix)
)
);
Expand All @@ -105,18 +106,25 @@ class Build : NukeBuild
() => DotNetTasks.DotNetBuild(
x => x
.SetProjectFile(MovereSlnPath)
.AddProperty("Configuration", Configuration)
.AddProperty("PackageVersionSuffix", PackageVersionSuffix)
)
);

Target Pack => _ => _
.After(Compile)
.Executes(
() => DotNetTasks.DotNetPack(
() =>
{
DotNetTasks.DotNetPack(
x => x
.SetProject(MovereSlnPath)
.AddProperty("Configuration", Configuration)
.AddProperty("PackageVersionSuffix", PackageVersionSuffix)
)
);
Serilog.Log.Information(EnvironmentInfo.GetVariable("CONFIGURATION"));
Serilog.Log.Information(Configuration);
}
);

Target PushMyGet => _ => _
Expand Down

0 comments on commit 45f012f

Please sign in to comment.