Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
c27dbe9343 | |||
aa416c1950 |
39
.woodpecker.yml
Normal file
39
.woodpecker.yml
Normal file
@ -0,0 +1,39 @@
|
|||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: alpine:latest
|
||||||
|
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
|
||||||
|
- 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
|
||||||
|
secrets: [ gitea_token ]
|
||||||
|
settings:
|
||||||
|
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.
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
tag: v*
|
||||||
|
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
tag: v*
|
@ -6,10 +6,12 @@ All notable changes to this project will be documented in this file.
|
|||||||
### Added
|
### Added
|
||||||
- Support for multisite WordPress installations
|
- Support for multisite WordPress installations
|
||||||
- Network admin page integration
|
- Network admin page integration
|
||||||
|
- Woodpecker CI integration for automated releases
|
||||||
|
|
||||||
### Improved
|
### Improved
|
||||||
- Error handling
|
- Error handling
|
||||||
- User experience with better confirmation messages
|
- User experience with better confirmation messages
|
||||||
|
- Security by adding proper capability checks
|
||||||
|
|
||||||
## [1.0] - 2025-03-15
|
## [1.0] - 2025-03-15
|
||||||
### Added
|
### Added
|
||||||
|
Reference in New Issue
Block a user