add release buil

This commit is contained in:
2025-12-10 20:25:38 +01:00
parent 14e55606ac
commit d6dae42209
2 changed files with 79 additions and 0 deletions

25
.woodpecker/release.yaml Normal file
View File

@@ -0,0 +1,25 @@
# build release
steps:
compile:
when:
event: [tag,manual]
image: perl:5.43.5-slim-bookworm
commands:
- perl Makefile.PL
- make
- make dist
- mv build/dbtool dbtool-linux-amd64-$CI_COMMIT_TAG
- mv build/meson-dist/* .
release:
image: alpine:latest
when:
event: [tag,manual]
environment:
DEPLOY_TOKEN:
from_secret: DEPLOY_TOKEN
commands:
- apk update
- apk add --no-cache bash httpie jq git
- .woodpecker/release.sh Config-General-$CI_COMMIT_TAG.tar.gz