Skip to content

Commit 134f823

Browse files
authored
chore: Added minor fixes for non wpe release (#2062)
* Added minor fixes for non wpe release. Added test script to output these changes to make sure they work. * Fixed test workflow. * Removed test code Removed test code now that we can see the changes applied. * Added Changeset
1 parent 2943748 commit 134f823

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.changeset/wicked-carrots-push.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@faustwp/wordpress-plugin": patch
3+
---
4+
5+
Added minor fixes for non wpe release. Added test script to output th…

.github/actions/release-plugin/action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ runs:
4848
rsync -av --exclude-from="${{ env.PLUGIN_DIR }}/.distignore" --exclude="includes/updates/check-for-updates.php" --exclude="includes/updates/class-plugin-updater.php" "${{ env.PLUGIN_DIR }}/" "dist/${{ env.SLUG }}"
4949
5050
# Updates for the CHANGELOG file
51-
sed -i -e 's/plugin updates from an external API endpoint./plugin updates from an external API endpoint when not installed from WordPress.org/' "dist/${{ env.SLUG }}/CHANGELOG.md"
51+
sed -i -e '/## 1.6.0/,+4d' "dist/${{ env.SLUG }}/CHANGELOG.md"
52+
53+
# Allow updates for .org
54+
sed -i -e '/\* Update URI: false/d' "dist/${{ env.SLUG }}/faustwp.php"
5255
5356
# Create .org zip file
5457
org_zip_file="faustwp-${{ env.VERSION }}.org.zip"

0 commit comments

Comments
 (0)