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