From 6550bc1185eb2a9f7c5236cccd09e06fed0886c9 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 11 Jan 2018 13:56:51 +0100 Subject: [PATCH] Modified drone config to upload zips of finished builds --- .drone.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index 423824a..9fe1c91 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 ]