This commit is contained in:
parent
8c12e80ad2
commit
0ed96f6c22
19
.drone.yml
19
.drone.yml
@ -47,26 +47,9 @@ steps:
|
|||||||
- name: compress binaries for release
|
- name: compress binaries for release
|
||||||
image: ubuntu
|
image: ubuntu
|
||||||
commands:
|
commands:
|
||||||
- ./compress_release.sh
|
|
||||||
- find ./dist -type f -executable -execdir tar -czvf {}.tar.gz {} \;
|
- find ./dist -type f -executable -execdir tar -czvf {}.tar.gz {} \;
|
||||||
|
|
||||||
- name: upload gitea pre-release
|
|
||||||
image: plugins/gitea-release
|
|
||||||
settings:
|
|
||||||
title: Unstable ($DRONE_BRANCH)
|
|
||||||
files: dist/*.tar.gz
|
|
||||||
prerelease: true
|
|
||||||
checksum:
|
|
||||||
- md5
|
|
||||||
- sha1
|
|
||||||
- sha256
|
|
||||||
- sha512
|
|
||||||
base_url:
|
|
||||||
from_secret: gitea_base_url
|
|
||||||
api_key:
|
|
||||||
from_secret: gitea_token
|
|
||||||
when:
|
when:
|
||||||
event: push
|
event: tag
|
||||||
|
|
||||||
- name: upload gitea release
|
- name: upload gitea release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
#! /bin/bash
|
|
||||||
|
|
||||||
find ./dist -type f -executable -execdir tar -czvf {}.tar.gz {} \;
|
|
Loading…
Reference in New Issue
Block a user