Skip to content

Commit

Permalink
Change dotnet target to 3.1
Browse files Browse the repository at this point in the history
To allow for builds to happen, and since 2.2 is no longer supported

tag: Changed
version: 0.11.0
  • Loading branch information
Ben Zumhagen committed Oct 1, 2021
1 parent bfe7e2f commit bcde86d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: csharp
mono: none
dotnet: 2.2.402
dotnet: 3.1.413
solution: dotnet-gitchanges.sln
jobs:
include:
Expand All @@ -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
- master
4 changes: 1 addition & 3 deletions dotnet-gitchanges.Tests/dotnet-gitchanges.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>

<IsPackable>false</IsPackable>

<TargetFrameworks>netcoreapp2.1;netcoreapp2.2</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
</PropertyGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion dotnet-gitchanges/dotnet-gitchanges.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<PackAsTool>true</PackAsTool>
<ToolCommandName>gitchanges</ToolCommandName>
<AssemblyName>gitchanges</AssemblyName>
<TargetFrameworks>netcoreapp2.1;netcoreapp2.2</TargetFrameworks>
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<LangVersion>latest</LangVersion>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.10.1
0.11.0

0 comments on commit bcde86d

Please sign in to comment.