mirror of
https://codeberg.org/scip/epuppy.git
synced 2025-12-18 04:51:01 +01:00
add release pipeline
This commit is contained in:
21
.woodpecker/release.yaml
Normal file
21
.woodpecker/release.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user