diff --git a/SECURITY.md b/SECURITY.md index 5d4f3799c2..8f44809e2f 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -2,10 +2,10 @@ ## Supported Versions -| Version | Supported | -| --------: | :----------------: | -| 5.x | :white\_check\_mark: | -| ⋜ 5.x | :x: | +| Version | Supported | +|--------:|:--------------------:| +| 6.x | :white\_check\_mark: | +| < 6.x | :x: | ## Reporting Security Issues diff --git a/docs/input/docs/reference/build-servers/bitbucket-pipelines.md b/docs/input/docs/reference/build-servers/bitbucket-pipelines.md index b809cee247..8218605144 100644 --- a/docs/input/docs/reference/build-servers/bitbucket-pipelines.md +++ b/docs/input/docs/reference/build-servers/bitbucket-pipelines.md @@ -27,7 +27,7 @@ pipelines: name: Version and build script: - export PATH="$PATH:/root/.dotnet/tools" - - dotnet tool install --global GitVersion.Tool --version 5.* + - dotnet tool install --global GitVersion.Tool - dotnet-gitversion /output buildserver - source gitversion.properties - echo Building with semver $GITVERSION_FULLSEMVER @@ -61,7 +61,7 @@ pipelines: name: Version script: - export PATH="$PATH:/root/.dotnet/tools" - - dotnet tool install --global GitVersion.Tool --version 5.* + - dotnet tool install --global GitVersion.Tool - dotnet-gitversion /output buildserver artifacts: - gitversion.properties diff --git a/docs/input/docs/usage/cli/installation.md b/docs/input/docs/usage/cli/installation.md index c6cd3e4e0d..e90f53a940 100644 --- a/docs/input/docs/usage/cli/installation.md +++ b/docs/input/docs/usage/cli/installation.md @@ -13,9 +13,15 @@ GitVersion can be installed as a [.NET global tool][dotnet-tool] under the name [`GitVersion.Tool`][tool] by executing the following in a terminal: ```shell -dotnet tool install --global GitVersion.Tool --version 5.* +dotnet tool install --global GitVersion.Tool ``` +:::{.alert .alert-info} +**Hint:** To install an older version of GitVersion.Tools, use the --version flag of dotnet tool install + +Example: `dotnet tool install GitVersion.Tool --global --version 5.*` +::: + If you want to pin to a specific version of GitVersion, you can find the available versions of [`GitVersion.Tool` on NuGet](https://www.nuget.org/packages/GitVersion.Tool/). @@ -62,15 +68,15 @@ without installing any other dependencies. To use the Docker image, execute the following: ```shell -docker run --rm -v "$(pwd):/repo" gittools/gitversion:5.6.6 /repo +docker run --rm -v "$(pwd):/repo" gittools/gitversion:latest-debian.12 /repo ``` The important arguments here are: | Argument | Description | -| --------------------------: | :----------------------------------------------------------------------------------------------------------- | +|----------------------------:|:-------------------------------------------------------------------------------------------------------------| | `"$(pwd):/repo"` | Maps the output of `pwd` (the working directory) to the `/repo` directory within the Docker container. | -| `gittools/gitversion:5.6.6` | The name and tag of the GitVersion container to use. | +| `gittools/gitversion:{tag}` | The name and tag of the GitVersion container to use. | | `/repo` | The directory within the Docker container GitVersion should use as its working directory. Don't change this. | :::{.alert .alert-warning}