From 83a38d45b3f9c231d705bfed849efbf41b3aaa86 Mon Sep 17 00:00:00 2001 From: Marco Rossignoli Date: Sat, 30 May 2020 11:19:51 +0200 Subject: [PATCH] Bump versions for release (#860) Bump versions for release --- Documentation/ReleasePlan.md | 12 ++++++------ src/coverlet.collector/version.json | 2 +- src/coverlet.console/version.json | 2 +- src/coverlet.core/coverlet.core.csproj | 2 +- src/coverlet.msbuild.tasks/version.json | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Documentation/ReleasePlan.md b/Documentation/ReleasePlan.md index 8822a87..48e5b9c 100644 --- a/Documentation/ReleasePlan.md +++ b/Documentation/ReleasePlan.md @@ -59,10 +59,7 @@ To get the list of commits between two version use git command This is the steps to do to release new packages to Nuget.org -1) Clone repo, **remember to build packages from master and not from your fork or metadata links will point to your forked repo.** -Run `git log -5` from repo root to verify last commit. - -2) Update project versions in file: +1) Update project versions in file(remove `-preview.{height}` and adjust versions): Collector https://github.com/tonerdo/coverlet/blob/master/src/coverlet.collector/version.json @@ -74,8 +71,11 @@ https://github.com/tonerdo/coverlet/blob/master/src/coverlet.msbuild.tasks/versi Core lib project file https://github.com/tonerdo/coverlet/blob/master/src/coverlet.core/coverlet.core.csproj. The version of core lib project file is the version we'll report on github repo releases https://github.com/tonerdo/coverlet/releases +Do a PR and merge to master. + +2) Clone repo, **remember to build packages from master and not from your fork or metadata links will point to your forked repo.** +Run `git log -5` from repo root to verify last commit. -Sample of updated version PR https://github.com/tonerdo/coverlet/pull/675/files 3) From new cloned, aligned and versions updated repo root run pack command ``` @@ -95,6 +95,6 @@ dotnet pack -c release /p:TF_BUILD=true /p:PublicRelease=true 5) **On your fork**: * Align to master -* Update versions in files accordingly to new release and commit/merge to master +* Bump version by one(fix part) and re-add `-preview.{height}` * Create release on repo https://github.com/tonerdo/coverlet/releases using https://github.com/tonerdo/coverlet/blob/master/src/coverlet.core/coverlet.core.csproj assembly version * Update the [Release Plan](https://github.com/tonerdo/coverlet/blob/master/Documentation/ReleasePlan.md)(this document) and [ChangeLog](https://github.com/tonerdo/coverlet/blob/master/Documentation/Changelog.md) \ No newline at end of file diff --git a/src/coverlet.collector/version.json b/src/coverlet.collector/version.json index 705c19c..a9ee691 100644 --- a/src/coverlet.collector/version.json +++ b/src/coverlet.collector/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.3.0-preview.{height}", + "version": "1.3.0", "publicReleaseRefSpec": [ "^refs/heads/master$" ], diff --git a/src/coverlet.console/version.json b/src/coverlet.console/version.json index 96bff07..b59be3e 100644 --- a/src/coverlet.console/version.json +++ b/src/coverlet.console/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "1.7.2-preview.{height}", + "version": "1.7.2", "publicReleaseRefSpec": [ "^refs/heads/master$" ], diff --git a/src/coverlet.core/coverlet.core.csproj b/src/coverlet.core/coverlet.core.csproj index ae710f3..6884abf 100644 --- a/src/coverlet.core/coverlet.core.csproj +++ b/src/coverlet.core/coverlet.core.csproj @@ -3,7 +3,7 @@ Library netstandard2.0 - 5.3.1 + 5.4.0 false diff --git a/src/coverlet.msbuild.tasks/version.json b/src/coverlet.msbuild.tasks/version.json index 6230b93..a8f0661 100644 --- a/src/coverlet.msbuild.tasks/version.json +++ b/src/coverlet.msbuild.tasks/version.json @@ -1,6 +1,6 @@ { "$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json", - "version": "2.9.0-preview.{height}", + "version": "2.9.0", "publicReleaseRefSpec": [ "^refs/heads/master$" ],