diff --git a/GitVersion.yml b/GitVersion.yml index 648057e0e..85a4ec875 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,4 +1,7 @@ mode: ContinuousDeployment +branches: + release: + is-release-branch: false ignore: sha: [ e823e5382ae16d433cbfda913f593f92aaaa462f, diff --git a/build.cake b/build.cake index 731d56bd3..8fd5655f9 100644 --- a/build.cake +++ b/build.cake @@ -1,7 +1,7 @@ ////////////////////////////////////////////////////////////////////// // TOOLS ////////////////////////////////////////////////////////////////////// -#tool "nuget:?package=GitVersion.CommandLine&version=4.0.0-beta0012" +#tool "nuget:?package=GitVersion.CommandLine&version=5.2.0" #addin "nuget:?package=Cake.Incubator&version=5.0.1" using Path = System.IO.Path; @@ -243,6 +243,10 @@ private void DoPackage(string project, string framework, string version, string private void SignAndTimestampBinaries(string outputDirectory) { + // When building locally signing isn't really necessary and it could take up to 3-4 minutes to sign all the binaries + // as we build for many, many different runtimes so disabling it locally means quicker turn around when doing local development. + if (BuildSystem.IsLocalBuild) return; + Information($"Signing binaries in {outputDirectory}"); // check that any unsigned libraries, that Octopus Deploy authors, get signed to play nice with security scanning tools diff --git a/tools/packages.config b/tools/packages.config index d65460293..14aef3bf0 100644 --- a/tools/packages.config +++ b/tools/packages.config @@ -1,4 +1,4 @@ - +