diff --git a/docs/guide/automate.md b/docs/guide/automate.md index bc3bfbf..4b8cd2e 100644 --- a/docs/guide/automate.md +++ b/docs/guide/automate.md @@ -39,7 +39,7 @@ Make sure to update the working directory depending on your folder structure it ::: warning Adding the above code to a multiple targeted project will cause husky to run multiple times. e.g -`netcoreapp3.1;net5.0;net6.0;net7.0` +`net8.0;net9.0` to avoid this, you can add the `$(IsCrossTargetingBuild)' == 'true'` condition to the target. e.g diff --git a/src/Husky/Husky.csproj b/src/Husky/Husky.csproj index ab6cc79..0e10fbb 100644 --- a/src/Husky/Husky.csproj +++ b/src/Husky/Husky.csproj @@ -2,7 +2,7 @@ Exe - net10.0;net9.0;net8.0;net7.0;net6.0 + net10.0;net9.0;net8.0; enable enable latest @@ -43,9 +43,6 @@ - - 8.0.0 - 9.0.0 diff --git a/src/Husky/Scripts/install_global.sh b/src/Husky/Scripts/install_global.sh index 8537b7f..fd49665 100644 --- a/src/Husky/Scripts/install_global.sh +++ b/src/Husky/Scripts/install_global.sh @@ -1,4 +1,4 @@ #!/bin/sh dotnet build ../Husky.csproj dotnet pack -c Release ../Husky.csproj -dotnet tool install -g --no-cache --add-source ../nupkg/ --framework net6.0 --version 0.4.1 husky +dotnet tool install -g --no-cache --add-source ../nupkg/ --framework net8.0 --version 0.7.2 husky