Add prereleases
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
31336280e6
commit
96c9b7d74c
18
.drone.yml
18
.drone.yml
@ -57,8 +57,24 @@ steps:
|
|||||||
- name: compress binaries for release
|
- name: compress binaries for release
|
||||||
image: busybox
|
image: busybox
|
||||||
- find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \;
|
- find ./dist -type f -perm +111 -execdir tar -czvf {}.tar.gz {} \;
|
||||||
|
|
||||||
|
- name: upload gitea pre-release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
title: Bleeding edge
|
||||||
|
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: tag
|
event: push
|
||||||
|
|
||||||
- name: upload gitea release
|
- name: upload gitea release
|
||||||
image: plugins/gitea-release
|
image: plugins/gitea-release
|
||||||
|
Loading…
Reference in New Issue
Block a user