Generate zip with the binary.
This commit is contained in:
parent
180e5908c0
commit
dda75f13a6
23
.drone.yml
23
.drone.yml
|
@ -16,19 +16,16 @@ steps:
|
||||||
environment:
|
environment:
|
||||||
BINARY_NAME: voctool
|
BINARY_NAME: voctool
|
||||||
commands:
|
commands:
|
||||||
- apk add zip tar
|
- apk add zip
|
||||||
- zip voctool.zip target/release/voctool
|
- zip voctool.zip target/release/voctool
|
||||||
- tar cfvz voctool.tar.gz target/release/voctool
|
|
||||||
when:
|
|
||||||
status: success
|
|
||||||
- drone/artifact:
|
|
||||||
name: voctool.zip
|
|
||||||
path: voctool.zip
|
|
||||||
when:
|
|
||||||
status: success
|
|
||||||
|
|
||||||
- drone/artifact:
|
|
||||||
name: voctool.tar.gz
|
|
||||||
path: voctool.tar.gz
|
|
||||||
when:
|
when:
|
||||||
status: success
|
status: success
|
||||||
|
- name: gitea_release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
environment:
|
||||||
|
GITEA_API_KEY:
|
||||||
|
from_secret: GITEA_API
|
||||||
|
settings:
|
||||||
|
api_key: $GITEA_API_KEY
|
||||||
|
base_url: https://git.deadbsd.org
|
||||||
|
files: voctool.zip
|
Loading…
Reference in New Issue