From e7678665052e6555307c1f3a3c16729262edd4ea Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Wed, 23 Oct 2019 18:23:11 -0700 Subject: [PATCH 1/2] less logging --- scripts/build-embedded | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build-embedded b/scripts/build-embedded index 4f609f69812..ccd6d345909 100755 --- a/scripts/build-embedded +++ b/scripts/build-embedded @@ -28,4 +28,4 @@ tar -czf dist/${TARBALL} dist/${DIR}-embedded/ echo "Cleaning up..." rm -r dist/${DIR}-embedded -ls -alR +ls -alR dist/ From 21ab4ad5b341d751ea185a94c2f4392ce69994a2 Mon Sep 17 00:00:00 2001 From: Vincent Fiduccia Date: Wed, 23 Oct 2019 18:29:59 -0700 Subject: [PATCH 2/2] Build tags --- .drone.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4e60938e07d..6fc274d36c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -59,6 +59,11 @@ steps: commands: - ./scripts/build-hosted when: + ref: + include: + - "refs/heads/master" + - "refs/heads/release/v*" + - "refs/tags/*" event: - push - tag @@ -79,6 +84,7 @@ steps: include: - "refs/heads/master" - "refs/heads/release/v*" + - "refs/tags/*" event: - push - tag @@ -101,6 +107,7 @@ steps: include: - "refs/heads/master" - "refs/heads/release/v*" + - "refs/tags/*" event: - push - tag @@ -113,7 +120,7 @@ steps: - allUsers:READER cache_control: "no-cache,must-revalidate" source: dist/${DRONE_BRANCH##release\/}.tar.gz - target: releases.rancher.com/dashboard/ + target: releases.rancher.com/dashboard/${DRONE_BRANCH##release\/}.tar.gz token: from_secret: google_auth_key when: @@ -121,6 +128,7 @@ steps: include: - "refs/heads/master" - "refs/heads/release/v*" + - "refs/tags/*" event: - push - tag