From f2efb11a8dba38917442b961716bba3c858c2204 Mon Sep 17 00:00:00 2001 From: Mohammadreza Taikandi Date: Tue, 22 Dec 2020 16:13:36 +0000 Subject: [PATCH] Add versioning. --- Directory.Build.props | 9 +++++++++ MapTo/Mapto.csproj | 7 ++++--- version.json | 13 +++++++++++++ 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 Directory.Build.props create mode 100644 version.json diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..95a211e --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,9 @@ + + + + + 3.3.37 + all + + + \ No newline at end of file diff --git a/MapTo/Mapto.csproj b/MapTo/Mapto.csproj index fae053e..1075960 100644 --- a/MapTo/Mapto.csproj +++ b/MapTo/Mapto.csproj @@ -1,6 +1,10 @@ + netstandard2.0 + enable + 9 + MapTo An object to object mapping generator using using Roslyn code generator. true @@ -14,9 +18,6 @@ https://github.com/mrtaikandi/mapto snupkg MapTo - netstandard2.0 - enable - 9 diff --git a/version.json b/version.json new file mode 100644 index 0000000..2ffb03f --- /dev/null +++ b/version.json @@ -0,0 +1,13 @@ +{ + "$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", + "version": "1.0.0-alpha", + "publicReleaseRefSpec": [ + "^refs/heads/master$", + "^refs/heads/v\\d+(?:\\.\\d+)?$" + ], + "cloudBuild": { + "buildNumber": { + "enabled": true + } + } +} \ No newline at end of file