From bcde86d79c1a0465daced3c6dc0fd51a8e811d32 Mon Sep 17 00:00:00 2001 From: Ben Zumhagen Date: Fri, 1 Oct 2021 10:23:19 -0500 Subject: [PATCH] Change dotnet target to 3.1 To allow for builds to happen, and since 2.2 is no longer supported tag: Changed version: 0.11.0 --- .travis.yml | 6 +++--- dotnet-gitchanges.Tests/dotnet-gitchanges.Tests.csproj | 4 +--- dotnet-gitchanges/dotnet-gitchanges.csproj | 2 +- version.txt | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index cbef9b3..9b372dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: csharp mono: none -dotnet: 2.2.402 +dotnet: 3.1.413 solution: dotnet-gitchanges.sln jobs: include: @@ -12,9 +12,9 @@ jobs: if: "branch = master AND type = push AND fork = false AND commit_message =~ /^.*version: [0-9]+\\.[0-9]+\\.[0-9]+.*$/" script: - set -e - - version=$(cat version.txt) + - version=$(cat version.txt | tr -d " \t\n\r") - dotnet pack -p:PackageVersion=$version - cd dotnet-gitchanges/bin/Debug - dotnet nuget push "dotnet-gitchanges.$version.nupkg" -k $NUGET_API_KEY -s https://api.nuget.org/v3/index.json only: - - master \ No newline at end of file + - master diff --git a/dotnet-gitchanges.Tests/dotnet-gitchanges.Tests.csproj b/dotnet-gitchanges.Tests/dotnet-gitchanges.Tests.csproj index 2f5312d..9d66fac 100644 --- a/dotnet-gitchanges.Tests/dotnet-gitchanges.Tests.csproj +++ b/dotnet-gitchanges.Tests/dotnet-gitchanges.Tests.csproj @@ -1,10 +1,8 @@  - false - - netcoreapp2.1;netcoreapp2.2 + netcoreapp3.1 diff --git a/dotnet-gitchanges/dotnet-gitchanges.csproj b/dotnet-gitchanges/dotnet-gitchanges.csproj index f099429..159fa95 100644 --- a/dotnet-gitchanges/dotnet-gitchanges.csproj +++ b/dotnet-gitchanges/dotnet-gitchanges.csproj @@ -9,7 +9,7 @@ true gitchanges gitchanges - netcoreapp2.1;netcoreapp2.2 + netcoreapp3.1 latest diff --git a/version.txt b/version.txt index 2b16b93..d9df1bb 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -0.10.1 +0.11.0