From 95764bc9574e3e7dc0ba861661188337c6c304e9 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 27 Mar 2025 15:44:24 +0000 Subject: [PATCH 1/2] fix: lowercase methods on pact upload --- src/Explore.Cli/MappingHelpers/Pact/PactMappingHelper.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Explore.Cli/MappingHelpers/Pact/PactMappingHelper.cs b/src/Explore.Cli/MappingHelpers/Pact/PactMappingHelper.cs index 0ebc092..c74a47c 100644 --- a/src/Explore.Cli/MappingHelpers/Pact/PactMappingHelper.cs +++ b/src/Explore.Cli/MappingHelpers/Pact/PactMappingHelper.cs @@ -90,7 +90,7 @@ public static Dictionary CreatePactPathsDictionary(object reques { var methodJson = new Dictionary { - { v4Request.Method?.ToString()?.Replace("Method", string.Empty) ?? string.Empty, pathsContent } + { v4Request.Method?.ToString()?.Replace("Method", string.Empty).ToLower() ?? string.Empty, pathsContent } }; var json = new Dictionary @@ -138,7 +138,7 @@ public static Dictionary CreatePactPathsDictionary(object reques { var methodJson = new Dictionary { - { v3Request.Method?.ToString()?.Replace("Method", string.Empty) ?? string.Empty, pathsContent } + { v3Request.Method?.ToString()?.Replace("Method", string.Empty).ToLower() ?? string.Empty, pathsContent } }; var json = new Dictionary @@ -186,7 +186,7 @@ public static Dictionary CreatePactPathsDictionary(object reques { var methodJson = new Dictionary { - { v2Request.Method?.ToString()?.Replace("Method", string.Empty) ?? string.Empty, pathsContent } + { v2Request.Method?.ToString()?.Replace("Method", string.Empty).ToLower() ?? string.Empty, pathsContent } }; var json = new Dictionary From fa7b0f456c2383aa670840b614a36f406f1ae0c8 Mon Sep 17 00:00:00 2001 From: Yousaf Nabi Date: Thu, 12 Jun 2025 12:10:17 +0100 Subject: [PATCH 2/2] chore: bump version to 0.8.2 --- .github/gitversion.yml | 2 +- Dockerfile.debian | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/gitversion.yml b/.github/gitversion.yml index e15a10c..9c2ba78 100644 --- a/.github/gitversion.yml +++ b/.github/gitversion.yml @@ -1,4 +1,4 @@ -next-version: 0.8.1 +next-version: 0.8.2 assembly-versioning-scheme: MajorMinorPatch assembly-file-versioning-scheme: MajorMinorPatchTag assembly-informational-format: '{InformationalVersion}' diff --git a/Dockerfile.debian b/Dockerfile.debian index e8f3d8e..025083b 100644 --- a/Dockerfile.debian +++ b/Dockerfile.debian @@ -1,5 +1,5 @@ FROM debian:12-slim -ARG VERSION=0.8.1 +ARG VERSION=0.8.2 RUN apt update && apt install -y curl libicu-dev RUN if [ "$(uname -m)" = "aarch64" ]; then \