From b0953115d528c10c6538f2bb665ecc418c1eae13 Mon Sep 17 00:00:00 2001 From: awaescher Date: Sat, 11 May 2024 00:34:51 +0200 Subject: [PATCH] Remove Nerdbank versioning --- Build.md | 14 -------------- src/Directory.Build.props | 4 ---- src/version.json | 21 --------------------- 3 files changed, 39 deletions(-) delete mode 100644 Build.md delete mode 100644 src/version.json diff --git a/Build.md b/Build.md deleted file mode 100644 index 59a6ce1..0000000 --- a/Build.md +++ /dev/null @@ -1,14 +0,0 @@ -# Build - -This project uses GitVersion to calculate version numbers. If a major bump has to be made (i. e. for a public release), the file `version.json` should be changed accordingly. -More info from [Nerdbank here](https://github.com/dotnet/Nerdbank.GitVersioning/blob/master/doc/public_vs_stable.md). - -To build the project for packaging, run the following command in the root directory: - -```powershell -dotnet build src -c Release -``` - -This will build and pack the assemblies to according output directories: -- `\src\FluentDragDrop\bin\Release` -- `\src\FluentDragDrop.Effects\bin\Release` diff --git a/src/Directory.Build.props b/src/Directory.Build.props index d98c889..1eda864 100644 --- a/src/Directory.Build.props +++ b/src/Directory.Build.props @@ -49,10 +49,6 @@ - - all - runtime; build; native; contentfiles; analyzers - diff --git a/src/version.json b/src/version.json deleted file mode 100644 index 2c3480d..0000000 --- a/src/version.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.1", - "publicReleaseRefSpec": [ - ".*/master$" // we release out of master - ], - "nugetPackageVersion": { - "semVer": 2 // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1. - }, - "cloudBuild": { - "setVersionVariables": true, - "buildNumber": { - "enabled": true, - "includeCommitId": { - "when": "nonPublicReleaseOnly", - "where": "buildMetadata" - } - } - }, - "inherit": false -} \ No newline at end of file