add dist file to release

This commit is contained in:
2025-11-23 18:07:53 +01:00
parent b836a4e75d
commit 2cec3edc3c

View File

@@ -6,24 +6,25 @@ labels:
steps:
compile:
when:
event: [tag]
event: [tag,manual]
image: alpine:latest
commands:
- apk update
- apk add --no-cache bash build-base words-en gdb perl pcre2-static pcre2-dev gdbm gdbm-dev pkgconfig meson ninja
- meson setup --reconfigure --prefer-static -Dcpp_link_args="-static" --buildtype=release build
- ninja -C build
- meson dist -C build --formats xztar,gztar,zip
- file build/dbtool
- mv build/dbtool dbtool-linux-amd64
release:
image: alpine:latest
when:
event: [tag]
event: [tag,manual]
environment:
DEPLOY_TOKEN:
from_secret: DEPLOY_TOKEN
commands:
- apk update
- apk add --no-cache bash httpie jq git
- .woodpecker/release.sh dbtool-linux-amd64
- .woodpecker/release.sh dbtool-linux-amd64 build/meson-dist/*