This commit is contained in:
parent
6e51ece84c
commit
8f5cd2b714
1 changed files with 23 additions and 0 deletions
23
.drone.yml
Normal file
23
.drone.yml
Normal file
|
@ -0,0 +1,23 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: release
|
||||
steps:
|
||||
- name: release-linux
|
||||
image: rust
|
||||
commands:
|
||||
- apt update
|
||||
- cargo build --release -v
|
||||
- name: publish
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
base_url: https://tilera.xyz/git
|
||||
api_key:
|
||||
from_secret: gitea_token
|
||||
note: CHANGELOG.md
|
||||
title: tag-${DRONE_TAG}
|
||||
files:
|
||||
- target/release/jmserver
|
||||
when:
|
||||
event: tag
|
||||
depends_on:
|
||||
- release-linux
|
Loading…
Reference in a new issue