add release pipeline

This commit is contained in:
2025-10-29 08:46:57 +01:00
parent 06dec42e83
commit 55addf2a77

21
.woodpecker/release.yaml Normal file
View File

@@ -0,0 +1,21 @@
labels:
platform: linux/amd64
steps:
build:
when:
event: [push]
image: golang:1.24
commands:
- go get
- ./mkrel.sh epuppy v1-${CI_COMMIT_SHA:0:8}
#- ./mkrel.sh epuppy ${CI_COMMIT_TAG}
publish:
image: woodpeckerci/plugin-release
settings:
files:
- 'releases/epuppy-*-v1-${CI_COMMIT_SHA:0:8}'
api_key:
from_secret: ACCESS_TOKEN