Modified drone config to upload zips of finished builds
the build failed Details

This commit is contained in:
konrad 2018-01-11 13:56:51 +01:00 committed by kolaente
parent 55403ec75b
commit 6550bc1185
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 4 deletions

View File

@ -44,6 +44,7 @@ pipeline:
GOPATH: /srv/app GOPATH: /srv/app
commands: commands:
- make release - make release
- make release-zip
when: when:
event: [tag, push] event: [tag, push]
@ -54,8 +55,8 @@ pipeline:
bucket: library-release bucket: library-release
endpoint: https://storage.kolaente.de endpoint: https://storage.kolaente.de
path_style: true path_style: true
strip_prefix: dist/release/ strip_prefix: dist/zip/
source: dist/release/**/* source: dist/zip/*
target: /${DRONE_TAG##v} target: /${DRONE_TAG##v}
when: when:
event: [ tag ] event: [ tag ]
@ -67,8 +68,8 @@ pipeline:
bucket: library-release bucket: library-release
endpoint: https://storage.kolaente.de endpoint: https://storage.kolaente.de
path_style: true path_style: true
strip_prefix: dist/release/ strip_prefix: dist/zip/
source: dist/release/**/* source: dist/zip/*
target: /master target: /master
when: when:
event: [ push ] event: [ push ]