diff --git a/Cargo.toml b/Cargo.toml index 06012287..0e909864 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -89,6 +89,12 @@ pre-release-commit-message = "chore: Release {{crate_name}}-v{{version}}" # crates in a workspace. consolidate-commits = false +# When cargo release is run, udates the Hipcheck version number in the two +# instances in the READMDE where it explicitly appears in docker commands +pre-release-replacements = [ + {file="../README.md", search="hipcheck:[a-z0-9\\.-]+", replace="hipcheck:{{version}}"}, +] + #============================================================================ # `git-cliff` Configuration diff --git a/README.md b/README.md index 15e2d728..4b254d29 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Hipcheck `Containerfile`. ```sh $ # Run the following from the root of the Hipcheck repository. -$ docker build -t hipcheck:3.1.0 -f ./Containerfile +$ docker build -t hipcheck:3.2.1 -f ./Containerfile ``` ### Local Install @@ -108,7 +108,7 @@ $ cargo install --path hipcheck You can run Hipcheck in a container like so: ```sh -$ docker run --env "HC_GITHUB_TOKEN=" hipheck:3.1.0 []... +$ docker run --env "HC_GITHUB_TOKEN=" hipcheck:3.2.1 []... ``` ### Direct Usage