Skip to content

Commit

Permalink
Merge pull request #1145 from emmanuel-ferdman/main
Browse files Browse the repository at this point in the history
Update `nbgv` CLI reference
  • Loading branch information
AArnott authored Dec 31, 2024
2 parents 77bc06c + 575f34a commit 5eb0d8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ The Visual Studio 2019 Test Explorer will list and execute all tests.
## Releases

Use `nbgv tag` to create a tag for a particular commit that you mean to release.
[Learn more about `nbgv` and its `tag` and `prepare-release` commands](https://github.com/dotnet/Nerdbank.GitVersioning/blob/main/doc/nbgv-cli.md).
[Learn more about `nbgv` and its `tag` and `prepare-release` commands](https://dotnet.github.io/Nerdbank.GitVersioning/docs/nbgv-cli.html).

Push the tag.

Expand Down
2 changes: 1 addition & 1 deletion docfx/docs/public-vs-stable.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,4 @@ Consider that main builds a 1.2 version, and has a version height of 10. So its
Or, if the topic branch *has* committed and moved onto 1.2.11, that could still collide because `main` may have moved on as well, using that same version. But since the topic branch always adds `-gc0ffee` hash suffixes to the package version, it won't conflict.
Also: you don't want a topic branch to be seen as newer and better than what's in the main branch unless the user is explicitly opting into unstable behavior, so the `-gc0ffee` suffix is useful because it forces the package to be seen as "unstable". Once it merges with `main`, it will drop its `-gc0ffee` suffix, but will retain any other `-prerelease` tag specified in the version.json file.

[nbgv_prepare-release]: https://github.com/dotnet/Nerdbank.GitVersioning/blob/master/doc/nbgv-cli.md#preparing-a-release
[nbgv_prepare-release]: https://dotnet.github.io/Nerdbank.GitVersioning/docs/nbgv-cli.html#preparing-a-release

0 comments on commit 5eb0d8c

Please sign in to comment.