Skip to content

Commit

Permalink
Update release_steps.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mhutch committed Feb 23, 2021
1 parent 15c654c commit dcf5021
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions release-steps.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
# Release steps

1. Switch branches to 2.x
2. Merge in commits/branches for the release
3. Update version.json and commit with "Release {version}"
4. Wait for tests to pass in CI
Use https://github.com/dotnet/Nerdbank.GitVersioning/blob/master/doc/nbgv-cli.md

Next, do the release:
To create release branch in master:

```bash
git tag -a v2.0.4 -m "Release 2.0.4"
git push origin v2.0.4
msbuild /p:Configuration=Release /p:PublicRelease=true
rm -r packages
for f in packages/Release/*; do nuget push $f; done
```
```
nbgv prepare-release
nbgv tag
```

And push branches and tags.

To make a servicing release:

* Bump version.json
* `nbgv tag`

And push branches and tags.

0 comments on commit dcf5021

Please sign in to comment.