mirror of
https://codeberg.org/scip/dbtool.git
synced 2025-12-17 11:20:58 +01:00
add dist file to release
This commit is contained in:
@@ -6,24 +6,25 @@ labels:
|
|||||||
steps:
|
steps:
|
||||||
compile:
|
compile:
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag,manual]
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
commands:
|
commands:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add --no-cache bash build-base words-en gdb perl pcre2-static pcre2-dev gdbm gdbm-dev pkgconfig meson ninja
|
- 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
|
- meson setup --reconfigure --prefer-static -Dcpp_link_args="-static" --buildtype=release build
|
||||||
- ninja -C build
|
- ninja -C build
|
||||||
|
- meson dist -C build --formats xztar,gztar,zip
|
||||||
- file build/dbtool
|
- file build/dbtool
|
||||||
- mv build/dbtool dbtool-linux-amd64
|
- mv build/dbtool dbtool-linux-amd64
|
||||||
|
|
||||||
release:
|
release:
|
||||||
image: alpine:latest
|
image: alpine:latest
|
||||||
when:
|
when:
|
||||||
event: [tag]
|
event: [tag,manual]
|
||||||
environment:
|
environment:
|
||||||
DEPLOY_TOKEN:
|
DEPLOY_TOKEN:
|
||||||
from_secret: DEPLOY_TOKEN
|
from_secret: DEPLOY_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- apk update
|
- apk update
|
||||||
- apk add --no-cache bash httpie jq git
|
- apk add --no-cache bash httpie jq git
|
||||||
- .woodpecker/release.sh dbtool-linux-amd64
|
- .woodpecker/release.sh dbtool-linux-amd64 build/meson-dist/*
|
||||||
|
|||||||
Reference in New Issue
Block a user