From 82e13472c1b869efeffc9ad990f0fac09478482f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Fri, 30 Dec 2022 11:28:39 +0100 Subject: [PATCH] Add automatic nuget build to Connected.Common.Types.UI Add automatic versioning to Connected.Common.Types.UI --- .../Connected.Common.Types.UI.csproj | 50 +++++++++++++++---- src/Connected.Common.Types.UI/version.json | 14 ++++++ 2 files changed, 54 insertions(+), 10 deletions(-) create mode 100644 src/Connected.Common.Types.UI/version.json diff --git a/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj b/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj index e2344b8..604ebf7 100644 --- a/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj +++ b/src/Connected.Common.Types.UI/Connected.Common.Types.UI.csproj @@ -5,13 +5,29 @@ enable enable Connected.Common.Types + True + $(AssemblyName) + Tom PIT ltd + 2022 Tom PIT ltd + https://git.tompit.com/Connected/Info + README.md + connected;platform; + True + snupkg + LICENSE + $(OutputPath) - - - - + + + + + + + + + @@ -20,15 +36,29 @@ - + + + + + + + - - - - - + + True + \ + + + True + \ + + + + + + diff --git a/src/Connected.Common.Types.UI/version.json b/src/Connected.Common.Types.UI/version.json new file mode 100644 index 0000000..2a1593f --- /dev/null +++ b/src/Connected.Common.Types.UI/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