Prepare release v2.1.0
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
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
This commit is contained in:
39
.drone.yml
Normal file
39
.drone.yml
Normal file
@ -0,0 +1,39 @@
|
||||
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.
|
Reference in New Issue
Block a user