Skip to content

Commit 59979c9

Browse files
authored
Merge pull request #298 from wpengine/chore-fix-plugin-slug-script-for-release-branch
chore: Fix for release branch. Removed trailing space for webhooks to force …
2 parents 389b3e2 + 3a0682b commit 59979c9

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.changeset/cold-meals-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wpengine/wpgraphql-webhooks-wordpress-plugin": patch
3+
---
4+
5+
chore: Initial release for wpgraphql-webhooks-wordpress-plugin.

.github/scripts/get-plugin-slug.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -e
55
BASE_SHA="$1"
66
HEAD_SHA="$2"
77

8-
git fetch --prune --unshallow
8+
git fetch --prune --unshallow 2>/dev/null || git fetch --prune
99

1010
# Get changed files in plugins subdirectories
1111
CHANGED_FILES=$(git diff --name-only "$BASE_SHA" "$HEAD_SHA" | grep '^plugins/[^/]\+/' || true)

plugins/wp-graphql-webhooks/src/Autoloader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ static function () use ( $error_message ) {
8787
);
8888
}
8989
}
90-
}
90+
}

plugins/wp-graphql-webhooks/src/TypeRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,4 @@ private static function register_types( array $classes_to_register ): void {
8787
self::$registry[] = $class;
8888
}
8989
}
90-
}
90+
}

0 commit comments

Comments
 (0)