diff --git a/Directory.Build.props b/Directory.Build.props index 30ea1ac1..8bcb8f1c 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -24,6 +24,9 @@ true + + + true $(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb speckle @@ -34,9 +37,6 @@ $(MSBuildThisFileDirectory) true - - - README.md Apache-2.0 diff --git a/GitVersion.yml b/GitVersion.yml index 8c39817c..96532bca 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -1,5 +1,5 @@ next-version: 3.0.0 -mode: ContinuousDelivery +mode: ContinuousDeployment assembly-informational-format: "{Major}.{Minor}.{Patch}-{PreReleaseTag}" branches: main: diff --git a/build/Program.cs b/build/Program.cs index c791a943..bb199808 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -11,6 +11,7 @@ const string BUILD = "build"; const string TEST = "test"; const string INTEGRATION = "integration"; const string PACK = "pack"; +const string PACK_LOCAL = "pack-local"; Target( CLEAN, @@ -83,7 +84,10 @@ Target( } ); -Target(PACK, DependsOn(TEST), () => RunAsync("dotnet", "pack Speckle.Sdk.sln -c Release -o output --no-build")); +static Task RunRestore() => RunAsync("dotnet", "pack Speckle.Sdk.sln -c Release -o output --no-build"); + +Target(PACK, DependsOn(TEST), RunRestore); +Target(PACK_LOCAL, DependsOn(BUILD), RunRestore); Target("default", DependsOn(FORMAT, TEST, INTEGRATION), () => Console.WriteLine("Done!"));