From 2d796505b7cec0995e9bf45acf42fc82b6607b20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Wed, 28 Dec 2022 18:14:47 +0100 Subject: [PATCH] Add automatic nuget build to Connected.Collections Add automatic versioning to Connected.Collections --- .../Connected.Collections.csproj | 37 +++++++++++++++++-- src/Connected.Collections/version.json | 14 +++++++ 2 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 src/Connected.Collections/version.json diff --git a/src/Connected.Collections/Connected.Collections.csproj b/src/Connected.Collections/Connected.Collections.csproj index f6b21a1..da7094a 100644 --- a/src/Connected.Collections/Connected.Collections.csproj +++ b/src/Connected.Collections/Connected.Collections.csproj @@ -4,12 +4,27 @@ net7.0 enable enable + True + $(AssemblyName) + Tom PIT ltd + 2022 Tom PIT ltd + https://git.tompit.com/Connected/Info + README.md + connected;platform; + True + snupkg + LICENSE + $(OutputPath) - - - + + + + @@ -27,4 +42,20 @@ + + + True + \ + + + True + \ + + + + + + + + diff --git a/src/Connected.Collections/version.json b/src/Connected.Collections/version.json new file mode 100644 index 0000000..2a1593f --- /dev/null +++ b/src/Connected.Collections/version.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json", + "version": "1.0-prerelease", + "semVer1NumericIdentifierPadding": 4, + "nugetPackageVersion": { + "semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. + "precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build. + }, + "cloudBuild": { + "buildNumber": { + "enabled": true + } + } +} \ No newline at end of file