granc/.woodpecker/release-binary.yml
Victor Martinez Montané 69f1115cbe chore: release-plz update (#1)
This is an automated PR generated by [release-plz](https://github.com/MarcoIeni/release-plz) via Woodpecker CI.

Co-authored-by: release-plz-bot <bot@codeberg.org>
Reviewed-on: https://codeberg.org/JasterV/granc/pulls/1
2026-03-09 18:45:49 +01:00

27 lines
637 B
YAML

when:
event: tag
ref: refs/tags/granc-v*
steps:
build:
image: rust:latest
pull: true
commands:
- apt update -y
- apt-get install -y protobuf-compiler
- cargo build --release --target x86_64-unknown-linux-gnu
package:
image: alpine
commands:
- apk add --no-cache tar gzip
- tar -czf granc-x86_64-unknown-linux-gnu.tgz -C target/x86_64-unknown-linux-gnu/release granc
publish:
image: woodpeckerci/plugin-release
settings:
base_url: https://codeberg.org
files:
- granc-x86_64-unknown-linux-gnu.tgz
api_key:
from_secret: CODEBERG_TOKEN