Skip to content

Commit 43cef3d

Browse files
authored
Tested WordPress 6.8.1 and fixed release issue (#381)
* Tested WordPress 6.8.1. Fixed #379 and removed legacy file. * Added Changeset
1 parent fa82a9b commit 43cef3d

File tree

4 files changed

+17
-14
lines changed

4 files changed

+17
-14
lines changed

.changeset/ten-guests-wonder.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@wpengine/wp-graphql-content-blocks": patch
3+
---
4+
5+
Tested WordPress 6.8.1 and fixed a release issue with the plugin artifact

.github/workflows/release.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,22 @@ jobs:
4848
env:
4949
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050

51+
- name: Prepare release zip without parent directory
52+
if: steps.changesets.outputs.published == 'true'
53+
run: |
54+
mkdir -p tmp_release_dir
55+
unzip -q "@wpengine/wp-graphql-content-blocks.zip" -d tmp_release_dir
56+
cd tmp_release_dir/@wpengine
57+
zip -r ../../wp-graphql-content-blocks.zip .
58+
cd ../..
59+
rm -rf tmp_release_dir
60+
5161
- name: Upload plugin zip file
5262
if: steps.changesets.outputs.published == 'true'
5363
uses: svenstaro/upload-release-action@v2
5464
with:
5565
repo_token: ${{ secrets.GITHUB_TOKEN }}
56-
file: "@wpengine/wp-graphql-content-blocks.zip"
66+
file: "wp-graphql-content-blocks.zip"
5767
asset_name: wp-graphql-content-blocks.zip
5868
tag: ${{ format('v{0}', fromJSON(steps.changesets.outputs.publishedPackages)[0].version) }}
5969
overwrite: true

patches/blakewilson-wp-enforce-semver/semver-object-key-version.patch

Lines changed: 0 additions & 12 deletions
This file was deleted.

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Contributors: blakewpe, chriswiegman, joefusco, matthewguywright, TeresaGobble, thdespou, wpengine
33
Tags: faustjs, faust, headless, decoupled, gutenberg
44
Requires at least: 5.7
5-
Tested up to: 6.8
5+
Tested up to: 6.8.1
66
Stable tag: 4.8.3
77
Requires PHP: 7.4
88
License: GPLv2 or later

0 commit comments

Comments
 (0)