Files
marcusquinn 389dc98a03
Some checks failed
ci/woodpecker/push/woodpecker Pipeline is pending
Plugin Asset Update / Push assets to WordPress.org (push) Has been cancelled
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 was successful
Prepare release v2.1.0
2025-04-13 05:38:01 +01:00

39 lines
1.2 KiB
YAML

kind: pipeline
type: docker
name: build-release
trigger:
event:
- tag
ref:
- refs/tags/v*
steps:
- name: build
image: alpine:latest
commands:
- apk add --no-cache bash zip
- VERSION=${DRONE_TAG#v}
- mkdir -p build/wp-fix-plugin-does-not-exist-notices
- cp wp-fix-plugin-does-not-exist-notices.php build/wp-fix-plugin-does-not-exist-notices/
- 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 CHANGELOG.md build/wp-fix-plugin-does-not-exist-notices/
- cd build
- zip -r ../wp-fix-plugin-does-not-exist-notices-$VERSION.zip wp-fix-plugin-does-not-exist-notices
- cd ..
- name: release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_token
base_url: https://gitea.wpallstars.com
files:
- wp-fix-plugin-does-not-exist-notices-*.zip
title: Release ${DRONE_TAG}
note: |
Fix 'Plugin file does not exist.' Notices ${DRONE_TAG}
See [CHANGELOG.md](https://gitea.wpallstars.com/wpallstars/wp-fix-plugin-does-not-exist-notices/src/branch/main/CHANGELOG.md) for details.