mirror of
https://codeberg.org/JasterV/granc.git
synced 2026-04-26 18:40:05 +00:00
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
27 lines
637 B
YAML
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
|