Skip to content

Commit

Permalink
Small build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
buldo committed Nov 16, 2024
1 parent 3623c7c commit 467280a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions build/Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ public Build()
readonly Configuration Configuration = IsLocalBuild ? Configuration.Debug : Configuration.Release;

[Parameter("Path for cloudsmith release repo")]
readonly string Repo = "openhd-2-3-evo";
readonly string Repo = "release";

[Parameter("Path for cloudsmith dev repo")]
readonly string DevRepo = "openhd-2-3-evo-dev";
readonly string DevRepo = "dev-release";

[GitVersion(NoFetch = true)]
readonly GitVersion GitVersion;
Expand Down Expand Up @@ -124,10 +124,7 @@ protected override void OnBuildInitialized()
debPackDirectory.CreateOrCleanDirectory();

var serviceTargetDirectory = debPackDirectory / "usr" / "local" / "share" / "openhd" / "web-ui";
CopyDirectoryRecursively(
GetPublishPathForRim(rid),
serviceTargetDirectory,
excludeFile: info => info.Name == "appsettings.Development.json");
GetPublishPathForRim(rid).Copy(serviceTargetDirectory, excludeFile: info => info.Name == "appsettings.Development.json");

var packSystemDDir = debPackDirectory / "etc" / "systemd" / "system";
packSystemDDir.CreateOrCleanDirectory();
Expand Down

0 comments on commit 467280a

Please sign in to comment.