Update CI configuration files with correct plugin slugs and update CHANGELOG.md (v1.6.16)
Some checks failed
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 failed

This commit is contained in:
2025-04-12 16:57:32 +01:00
parent 5814ebfe11
commit e6003d373a
7 changed files with 114 additions and 29 deletions

View File

@ -9,28 +9,28 @@ steps:
commands:
- apk add --no-cache bash zip
- VERSION=${CI_COMMIT_TAG#v}
- mkdir -p build/plugin-reference-cleaner
- cp plugin-reference-cleaner.php build/plugin-reference-cleaner/
- cp readme.txt build/plugin-reference-cleaner/
- cp LICENSE build/plugin-reference-cleaner/
- cp README.md build/plugin-reference-cleaner/
- if [ -f CHANGELOG.md ]; then cp CHANGELOG.md build/plugin-reference-cleaner/; fi
- mkdir -p build/fix-plugin-does-not-exist-notices
- cp fix-plugin-does-not-exist-notices.php build/fix-plugin-does-not-exist-notices/
- cp readme.txt build/fix-plugin-does-not-exist-notices/
- cp LICENSE build/fix-plugin-does-not-exist-notices/
- cp README.md build/fix-plugin-does-not-exist-notices/
- if [ -f CHANGELOG.md ]; then cp CHANGELOG.md build/fix-plugin-does-not-exist-notices/; fi
- cd build
- zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner
- zip -r ../fix-plugin-does-not-exist-notices-$VERSION.zip fix-plugin-does-not-exist-notices
- cd ..
- echo "Build completed - plugin-reference-cleaner-$VERSION.zip"
- echo "Build completed - fix-plugin-does-not-exist-notices-$VERSION.zip"
- ls -la *.zip
release:
image: plugins/gitea-release
environment:
PLUGIN_API_KEY:
from_secret: gitea_token
PLUGIN_BASE_URL: https://gitea.wpallstars.com
PLUGIN_FILES: plugin-reference-cleaner-*.zip
PLUGIN_FILES: fix-plugin-does-not-exist-notices-*.zip
PLUGIN_TITLE: "Release ${CI_COMMIT_TAG}"
PLUGIN_NOTE: "Plugin Reference Cleaner ${CI_COMMIT_TAG}\n\nSee [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/plugin-reference-cleaner/src/branch/main/CHANGELOG.md) for details."
PLUGIN_NOTE: "Fix 'Plugin file does not exist.' Notices ${CI_COMMIT_TAG}\n\nSee [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/fix-plugin-does-not-exist-notices/src/branch/main/CHANGELOG.md) for details."
test:
image: alpine:latest
commands:
@ -38,4 +38,4 @@ steps:
- echo "Testing minimal configuration"
when:
event: [push, tag, pull_request]
event: [push, tag, pull_request]