Bump versions for release (#860)

Bump versions for release
This commit is contained in:
Marco Rossignoli
2020-05-30 11:19:51 +02:00
committed by GitHub
parent e438dbf568
commit 83a38d45b3
5 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -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)
+1 -1
View File
@@ -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$"
],
+1 -1
View File
@@ -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$"
],
+1 -1
View File
@@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>5.3.1</AssemblyVersion>
<AssemblyVersion>5.4.0</AssemblyVersion>
<IsPackable>false</IsPackable>
</PropertyGroup>
+1 -1
View File
@@ -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$"
],