Compare commits

...

2 Commits

Author SHA1 Message Date
ac3e47a147 Fix release workflow to check if directories exist before copying
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-04-14 19:26:49 +01:00
b05d01da92 Update release workflow to include new directories
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
Build Release / Deploy to WordPress.org (push) Has been cancelled
ci/woodpecker/tag/woodpecker Pipeline was successful
2025-04-14 19:24:46 +01:00

View File

@ -28,7 +28,17 @@ jobs:
cp readme.txt build/wp-fix-plugin-does-not-exist-notices/ cp readme.txt build/wp-fix-plugin-does-not-exist-notices/
cp LICENSE build/wp-fix-plugin-does-not-exist-notices/ cp LICENSE build/wp-fix-plugin-does-not-exist-notices/
cp README.md build/wp-fix-plugin-does-not-exist-notices/ cp README.md build/wp-fix-plugin-does-not-exist-notices/
cp -r assets build/wp-fix-plugin-does-not-exist-notices/ cp -r admin build/wp-fix-plugin-does-not-exist-notices/
cp -r includes build/wp-fix-plugin-does-not-exist-notices/
# Copy directories if they exist
if [ -d "assets" ]; then
cp -r assets build/wp-fix-plugin-does-not-exist-notices/
fi
if [ -d "languages" ]; then
cp -r languages build/wp-fix-plugin-does-not-exist-notices/
fi
- name: Create ZIP file - name: Create ZIP file
run: | run: |