From 4f24aafd4439d9dd03d0ef9a65ea3c24998c9d37 Mon Sep 17 00:00:00 2001 From: Colin Murphy Date: Mon, 30 Jun 2025 13:01:06 +0100 Subject: [PATCH 1/2] Fix for release branch. Removed trailing space for webhooks to force a release. --- .github/scripts/get-plugin-slug.sh | 2 +- plugins/wp-graphql-webhooks/src/Autoloader.php | 2 +- plugins/wp-graphql-webhooks/src/TypeRegistry.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/scripts/get-plugin-slug.sh b/.github/scripts/get-plugin-slug.sh index dd2c98ee..30ced621 100644 --- a/.github/scripts/get-plugin-slug.sh +++ b/.github/scripts/get-plugin-slug.sh @@ -5,7 +5,7 @@ set -e BASE_SHA="$1" HEAD_SHA="$2" -git fetch --prune --unshallow +git fetch --prune --unshallow 2>/dev/null || git fetch --prune # Get changed files in plugins subdirectories CHANGED_FILES=$(git diff --name-only "$BASE_SHA" "$HEAD_SHA" | grep '^plugins/[^/]\+/' || true) diff --git a/plugins/wp-graphql-webhooks/src/Autoloader.php b/plugins/wp-graphql-webhooks/src/Autoloader.php index 91ee0dce..e308564b 100644 --- a/plugins/wp-graphql-webhooks/src/Autoloader.php +++ b/plugins/wp-graphql-webhooks/src/Autoloader.php @@ -87,4 +87,4 @@ static function () use ( $error_message ) { ); } } -} \ No newline at end of file +} diff --git a/plugins/wp-graphql-webhooks/src/TypeRegistry.php b/plugins/wp-graphql-webhooks/src/TypeRegistry.php index 275508ef..75108308 100644 --- a/plugins/wp-graphql-webhooks/src/TypeRegistry.php +++ b/plugins/wp-graphql-webhooks/src/TypeRegistry.php @@ -87,4 +87,4 @@ private static function register_types( array $classes_to_register ): void { self::$registry[] = $class; } } -} \ No newline at end of file +} From 3a0682b4a6e5dca1c856fd66e34db911944d3402 Mon Sep 17 00:00:00 2001 From: Colin Murphy Date: Mon, 30 Jun 2025 13:01:47 +0100 Subject: [PATCH 2/2] Added Changeset --- .changeset/cold-meals-sneeze.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cold-meals-sneeze.md diff --git a/.changeset/cold-meals-sneeze.md b/.changeset/cold-meals-sneeze.md new file mode 100644 index 00000000..bc8036a2 --- /dev/null +++ b/.changeset/cold-meals-sneeze.md @@ -0,0 +1,5 @@ +--- +"@wpengine/wpgraphql-webhooks-wordpress-plugin": patch +--- + +chore: Initial release for wpgraphql-webhooks-wordpress-plugin.