Skip to content

Commit 6e990b9

Browse files
authored
Merge pull request #279 from wpengine/chore-pre-release-fixes-iteration-5
chore: Fixes for pre release process iteration 5
2 parents 174685f + c2da17f commit 6e990b9

File tree

5 files changed

+8
-9
lines changed

5 files changed

+8
-9
lines changed
File renamed without changes.

.github/workflows/pre-release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,8 @@ jobs:
4444
echo "plugin_slug=$plugin" >> $GITHUB_OUTPUT
4545
4646
- name: Validate plugin detection
47+
continue-on-error: false
4748
run: |
48-
if [ -z "${{ steps.plugin.outputs.plugin_slug }}" ]; then
49-
echo "No plugin detected in changes"
50-
exit 1
51-
fi
52-
5349
if [ ! -d "plugins/${{ steps.plugin.outputs.plugin_slug }}" ]; then
5450
echo "Plugin directory does not exist"
5551
exit 1
@@ -68,6 +64,8 @@ jobs:
6864
git add .
6965
git commit -m "chore: apply version bump from changesets" || echo "No changes to commit"
7066
git push
67+
env:
68+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7169

7270
- name: Read package metadata
7371
id: metadata
@@ -95,6 +93,8 @@ jobs:
9593
echo "package_name=$package_name" >> $GITHUB_OUTPUT
9694
echo "package_version=$package_version" >> $GITHUB_OUTPUT
9795
echo "PLUGIN_DIR=$PLUGIN_DIR" >> $GITHUB_OUTPUT
96+
env:
97+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9898

9999
- name: Create Git tag
100100
run: |

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@placeholder/toolkit",
2+
"name": "@wpengine/hwp-toolkit",
33
"version": "1.0.0",
44
"private": true,
55
"workspaces": [

plugins/hwp-previews/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ See the [Actions & Filters documentation](ACTIONS_AND_FILTERS.md) for a comprehe
166166

167167
See [Testing.md](TESTING.md) for details on how to test the plugin.
168168

169-
170169
## Screenshots
171170

172171
<details>

0 commit comments

Comments
 (0)