From 739d0674fa36557b6b7128f8684bde8210e2440f Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Fri, 2 Sep 2022 11:04:19 -0500 Subject: [PATCH] ci: making sure all the tools are installed properly --- .config/dotnet-tools.json | 8 +++++++- scripts/release.sh | 1 + src/MfGames.IO/MfGames.IO.csproj | 2 +- tests/MfGames.IO.Tests/MfGames.IO.Tests.csproj | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index b1a3146..7720a5a 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -2,8 +2,14 @@ "version": 1, "isRoot": true, "tools": { + "gitversion.tool": { + "version": "5.9.0", + "commands": [ + "dotnet-gitversion" + ] + }, "dotnet-reportgenerator-globaltool": { - "version": "5.0.0", + "version": "5.1.3", "commands": [ "reportgenerator" ] diff --git a/scripts/release.sh b/scripts/release.sh index b43c343..afd0c65 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -15,6 +15,7 @@ echo "$(basename $0): cleaning project" dotnet clean # Version the file based on the Git repository. +echo "$(basename $0): setting project version" (cd src && dotnet dotnet-gitversion /updateprojectfiles) SEMVER="v$(dotnet gitversion /output json | jq -r .SemVer)" diff --git a/src/MfGames.IO/MfGames.IO.csproj b/src/MfGames.IO/MfGames.IO.csproj index 0c51aea..7bf7840 100644 --- a/src/MfGames.IO/MfGames.IO.csproj +++ b/src/MfGames.IO/MfGames.IO.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 enable A set of utilities and extension methods to make System.IO easier. diff --git a/tests/MfGames.IO.Tests/MfGames.IO.Tests.csproj b/tests/MfGames.IO.Tests/MfGames.IO.Tests.csproj index 292846a..894bd43 100644 --- a/tests/MfGames.IO.Tests/MfGames.IO.Tests.csproj +++ b/tests/MfGames.IO.Tests/MfGames.IO.Tests.csproj @@ -1,7 +1,7 @@ - net5.0 + net6.0 enable