Skip to content

Commit 83a38d4

Browse files
Bump versions for release (#860)
Bump versions for release
1 parent e438dbf commit 83a38d4

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

Documentation/ReleasePlan.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,7 @@ To get the list of commits between two version use git command
5959

6060
This is the steps to do to release new packages to Nuget.org
6161

62-
1) Clone repo, **remember to build packages from master and not from your fork or metadata links will point to your forked repo.**
63-
Run `git log -5` from repo root to verify last commit.
64-
65-
2) Update project versions in file:
62+
1) Update project versions in file(remove `-preview.{height}` and adjust versions):
6663

6764
Collector
6865
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
7471
Core lib project file https://github.com/tonerdo/coverlet/blob/master/src/coverlet.core/coverlet.core.csproj.
7572
The version of core lib project file is the version we'll report on github repo releases https://github.com/tonerdo/coverlet/releases
7673

74+
Do a PR and merge to master.
75+
76+
2) Clone repo, **remember to build packages from master and not from your fork or metadata links will point to your forked repo.**
77+
Run `git log -5` from repo root to verify last commit.
7778

78-
Sample of updated version PR https://github.com/tonerdo/coverlet/pull/675/files
7979

8080
3) From new cloned, aligned and versions updated repo root run pack command
8181
```
@@ -95,6 +95,6 @@ dotnet pack -c release /p:TF_BUILD=true /p:PublicRelease=true
9595

9696
5) **On your fork**:
9797
* Align to master
98-
* Update versions in files accordingly to new release and commit/merge to master
98+
* Bump version by one(fix part) and re-add `-preview.{height}`
9999
* 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
100100
* 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)

src/coverlet.collector/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "1.3.0-preview.{height}",
3+
"version": "1.3.0",
44
"publicReleaseRefSpec": [
55
"^refs/heads/master$"
66
],

src/coverlet.console/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "1.7.2-preview.{height}",
3+
"version": "1.7.2",
44
"publicReleaseRefSpec": [
55
"^refs/heads/master$"
66
],

src/coverlet.core/coverlet.core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<OutputType>Library</OutputType>
55
<TargetFramework>netstandard2.0</TargetFramework>
6-
<AssemblyVersion>5.3.1</AssemblyVersion>
6+
<AssemblyVersion>5.4.0</AssemblyVersion>
77
<IsPackable>false</IsPackable>
88
</PropertyGroup>
99

src/coverlet.msbuild.tasks/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
3-
"version": "2.9.0-preview.{height}",
3+
"version": "2.9.0",
44
"publicReleaseRefSpec": [
55
"^refs/heads/master$"
66
],

0 commit comments

Comments
 (0)