mirror of
https://codeberg.org/gigirassy/riptide
synced 2026-08-30 23:27:39 +00:00
Add .woodpecker/release.yml
This commit is contained in:
@@ -0,0 +1,22 @@
|
|||||||
|
when:
|
||||||
|
event: [tag]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build-static
|
||||||
|
image: kgrv/rust:latest
|
||||||
|
commands:
|
||||||
|
- RUSTFLAGS="-Ctarget-feature=+crt-static" compile --release
|
||||||
|
- cp target/*/release/riptide riptide/
|
||||||
|
- tar -czf riptide.tgz -C riptide .
|
||||||
|
|
||||||
|
- name: release-tag
|
||||||
|
image: woodpeckerci/plugin-release
|
||||||
|
settings:
|
||||||
|
base-url: https://codeberg.org
|
||||||
|
api-key:
|
||||||
|
from_secret: RIPTIDE_TOK
|
||||||
|
title: ${CI_COMMIT_TAG}
|
||||||
|
prerelease: false
|
||||||
|
checksum: sha256
|
||||||
|
files:
|
||||||
|
- riptide.tgz
|
||||||
Reference in New Issue
Block a user