Compare commits

...

2 Commits

Author SHA1 Message Date
f8cabf71b6 Update Woodpecker CI configuration to use environment variables instead of secrets
Some checks failed
ci/woodpecker/tag/woodpecker Pipeline is pending
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 05:52:02 +01:00
bbdc06b4c1 Fix command formatting in Woodpecker CI configuration
Some checks failed
Build Release / Build and Create Release (push) Has been cancelled
2025-04-07 05:51:18 +01:00

View File

@ -13,23 +13,18 @@ steps:
- cd build
- zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner
- cd ..
- echo "Build completed: plugin-reference-cleaner-$VERSION.zip"
- echo "Build completed - plugin-reference-cleaner-$VERSION.zip"
- ls -la *.zip
release:
image: plugins/gitea-release
secrets: [ gitea_token ]
settings:
api_key:
environment:
PLUGIN_API_KEY:
from_secret: gitea_token
base_url: https://gitea.wpallstars.com
files:
- plugin-reference-cleaner-*.zip
title: Release ${CI_COMMIT_TAG}
note: |
Plugin Reference Cleaner ${CI_COMMIT_TAG}
See [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/plugin-reference-cleaner/src/branch/main/CHANGELOG.md) for details.
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