From 0ad138d52ddadc2f6ede3bf95844eb96b38fc99c Mon Sep 17 00:00:00 2001 From: Dylan Date: Wed, 18 Sep 2024 12:03:36 +1000 Subject: [PATCH] Latest OctoVersion --- build/Build.cs | 4 ++-- build/_build.csproj | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/Build.cs b/build/Build.cs index 0d9f519..2b925aa 100644 --- a/build/Build.cs +++ b/build/Build.cs @@ -22,8 +22,8 @@ class Build : NukeBuild [Parameter("Whether to auto-detect the branch name - this is okay for a local build, but should not be used under CI.")] readonly bool AutoDetectBranch = IsLocalBuild; - [OctoVersion(UpdateBuildNumber = true, BranchParameter = nameof(BranchName), - AutoDetectBranchParameter = nameof(AutoDetectBranch), Framework = "net8.0")] + [OctoVersion(UpdateBuildNumber = true, BranchMember = nameof(BranchName), + AutoDetectBranchMember = nameof(AutoDetectBranch), Framework = "net8.0")] readonly OctoVersionInfo OctoVersionInfo; AbsolutePath SourceDirectory => RootDirectory / "source"; diff --git a/build/_build.csproj b/build/_build.csproj index ef14edc..f076114 100644 --- a/build/_build.csproj +++ b/build/_build.csproj @@ -11,7 +11,7 @@ - +