Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
b988fbbec0 | |||
ac3e47a147 | |||
b05d01da92 |
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@ -28,7 +28,21 @@ jobs:
|
||||
cp readme.txt 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 -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
|
||||
|
||||
if [ -d ".wordpress-org" ]; then
|
||||
cp -r .wordpress-org build/wp-fix-plugin-does-not-exist-notices/
|
||||
fi
|
||||
|
||||
- name: Create ZIP file
|
||||
run: |
|
||||
@ -46,7 +60,7 @@ jobs:
|
||||
wp-fix-plugin-does-not-exist-notices-${{ steps.get_version.outputs.VERSION }}.zip
|
||||
body: |
|
||||
Fix 'Plugin file does not exist.' Notices v${{ steps.get_version.outputs.VERSION }}
|
||||
|
||||
|
||||
See [CHANGELOG.md](https://github.com/wpallstars/wp-fix-plugin-does-not-exist-notices/blob/main/CHANGELOG.md) for details.
|
||||
|
||||
# Deploy to WordPress.org
|
||||
@ -57,7 +71,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
|
||||
- name: WordPress Plugin Deploy
|
||||
id: deploy
|
||||
uses: 10up/action-wordpress-plugin-deploy@stable
|
||||
|
Reference in New Issue
Block a user