Skip to content

Commit

Permalink
Prepare new release
Browse files Browse the repository at this point in the history
  • Loading branch information
rkoopmans committed Jul 28, 2024
1 parent cad9952 commit e6e412d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,11 +145,11 @@ jobs:
env:
TINIFY_KEY: ${{ secrets.TINIFY_KEY }}
run: |
if ("${{ matrix.dotnet-target }}" -eq "6.0.x") {
if ("${{ matrix.dotnet-version }}" -eq "6.0.x") {
dotnet test --configuration Release --no-build --verbosity normal --framework net6.0 test/Tinify.Tests.Integration
} elseif ("${{ matrix.dotnet-target }}" -eq "3.1.x") {
} elseif ("${{ matrix.dotnet-version }}" -eq "3.1.x") {
dotnet test --configuration Release --no-build --verbosity normal --framework netcoreapp3.1 test/Tinify.Tests.Integration
} elseif ("${{ matrix.dotnet-target }}" -eq "8.0.x") {
} elseif ("${{ matrix.dotnet-version }}" -eq "8.0.x") {
dotnet test --configuration Release --no-build --verbosity normal --framework net8.0 test/Tinify.Tests.Integration
} else {
Write-Error "Unsupported .NET version $env:MATRIX_DOTNET_VERSION"
Expand All @@ -175,7 +175,7 @@ jobs:
- name: Set up dotnet
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
dotnet-version: 8.0.x

- name: Check if properly tagged
run: |
Expand Down
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.7.0
* Added .NET 8 as test target
* Dropped .NET 6
* Added tests for macOS ARM
* Bumped System.Text.Json to 8.0.4

## 1.6.0
* Increased TargetFramework to netstandard2.0
* Tinify client is now tested on
Expand Down
2 changes: 1 addition & 1 deletion src/Tinify/Tinify.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<Description>.NET client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.</Description>
<AssemblyTitle>Tinify</AssemblyTitle>
<VersionPrefix>1.6.0</VersionPrefix>
<VersionPrefix>1.7.0</VersionPrefix>
<Authors>Tinify</Authors>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Tinify</AssemblyName>
Expand Down
2 changes: 1 addition & 1 deletion test/Tinify.Tests.Integration/Integration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public void Should_Resize_And_PreserveMetadata()
{
using var file = new TempFile();
var resizeOptions = new { method = "fit", width = 50, height = 20 };
var preserveOptions = new[] { "copyright", "location" };
var preserveOptions = new[] { "location", "copyright" };
optimized.Resize(resizeOptions).Preserve(preserveOptions).ToFile(file.Path).Wait();

var size = new FileInfo(file.Path).Length;
Expand Down

0 comments on commit e6e412d

Please sign in to comment.