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:
|
build:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
@ -13,27 +18,18 @@ pipeline:
|
|||||||
- cd build
|
- cd build
|
||||||
- zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner
|
- zip -r ../plugin-reference-cleaner-$VERSION.zip plugin-reference-cleaner
|
||||||
- cd ..
|
- cd ..
|
||||||
- echo "Build completed: plugin-reference-cleaner-$VERSION.zip"
|
- echo "Build completed - plugin-reference-cleaner-$VERSION.zip"
|
||||||
- ls -la *.zip
|
- ls -la *.zip
|
||||||
|
|
||||||
release:
|
release:
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
secrets: [ gitea_token ]
|
environment:
|
||||||
settings:
|
PLUGIN_API_KEY:
|
||||||
api_key:
|
|
||||||
from_secret: gitea_token
|
from_secret: gitea_token
|
||||||
base_url: https://gitea.wpallstars.com
|
PLUGIN_BASE_URL: https://gitea.wpallstars.com
|
||||||
files:
|
PLUGIN_FILES: plugin-reference-cleaner-*.zip
|
||||||
- plugin-reference-cleaner-*.zip
|
PLUGIN_TITLE: "Release ${CI_COMMIT_TAG}"
|
||||||
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."
|
||||||
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:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
tag: v*
|
|
Reference in New Issue
Block a user