release on tag
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone Build is failing

This commit is contained in:
Shimun 2019-06-01 16:06:43 +02:00
parent 12e32c622e
commit ed763c5874

View File

@ -5,11 +5,29 @@ steps:
- name: build
image: rust:1.33.0
commands:
- cargo build
- cargo build --jobs 1
- name: build_relase
image: rust:1.33.0
commands:
- cargo build --release
- mkdir bin
- export CARGO_INSTALL_ROOT=$PWD
- rustup target add x86_64-unknown-linux-musl
- cargo install --jobs 1 --path . --target x86_64-unknown-linux-musl
when:
event:
- tag
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: gitea_tkn
base_url:
from_secret: gitea_url
files:
- bin/*
checksum:
- md5
- sha512
when:
event: tag