Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
63a2ec3ff9 | |||
f8cabf71b6 | |||
bbdc06b4c1 | |||
3bf5e3d4ab |
@ -1,4 +1,9 @@
|
||||
pipeline:
|
||||
clone:
|
||||
git:
|
||||
image: woodpeckerci/plugin-git
|
||||
debug: true
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: alpine:latest
|
||||
commands:
|
||||
@ -13,27 +18,18 @@ pipeline:
|
||||
- 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.
|
||||
when:
|
||||
event: tag
|
||||
tag: v*
|
||||
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
|
||||
tag: v*
|
||||
event: tag
|
Reference in New Issue
Block a user