From 424dfe19af11e73e6371099775ace6c5c9efe996 Mon Sep 17 00:00:00 2001 From: konrad Date: Sun, 16 Dec 2018 11:53:26 +0100 Subject: [PATCH] Only make all platform builds when pushing to master --- .drone.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.drone.yml b/.drone.yml index 5e64c91e..23f75560 100644 --- a/.drone.yml +++ b/.drone.yml @@ -44,6 +44,7 @@ pipeline: - make release-dirs when: event: [tag, push] + branch: [ master ] static-build-windows: image: karalabe/xgo-latest:latest @@ -56,6 +57,7 @@ pipeline: - make release-windows when: event: [tag, push] + branch: [ master ] static-build-linux: image: karalabe/xgo-latest:latest @@ -68,6 +70,7 @@ pipeline: - make release-linux when: event: [tag, push] + branch: [ master ] static-build-darwin: image: karalabe/xgo-latest:latest @@ -80,15 +83,7 @@ pipeline: - make release-darwin when: event: [tag, push] - -# static-build-frontend: -# image: webhippie/nodejs:current -# pull: true -# group: build-static -# commands: -# - make release-frontend -# when: -# event: [push, tag ] + branch: [ master ] after-build-static: image: karalabe/xgo-latest:latest @@ -103,6 +98,7 @@ pipeline: - make release-zip when: event: [tag, push] + branch: [ master ] # Push the releases to our pseudo-s3-bucket release: