Compare commits

...

2 Commits

Author SHA1 Message Date
f85f6f0d3c Use minimal Woodpecker CI configuration for testing
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
ci/woodpecker/tag/woodpecker Pipeline is pending
ci/woodpecker/manual/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 06:16:04 +01:00
63a2ec3ff9 Add clone debugging to Woodpecker CI configuration
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 06:11:28 +01:00

View File

@ -1,30 +1,6 @@
steps: steps:
build: test:
image: alpine:latest image: alpine:latest
commands: commands:
- apk add --no-cache bash zip - echo "Hello from Woodpecker CI"
- VERSION=${CI_COMMIT_TAG#v} - echo "Testing minimal configuration"
- 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
- cd build
- zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner
- cd ..
- echo "Build completed - plugin-reference-cleaner-$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_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."
when:
event: tag