Skip to content

Commit

Permalink
Merge pull request #20 from vincent99/master
Browse files Browse the repository at this point in the history
Build tags
  • Loading branch information
vincent99 authored Oct 24, 2019
2 parents e62fce9 + 21ab4ad commit c86cd9a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ steps:
commands:
- ./scripts/build-hosted
when:
ref:
include:
- "refs/heads/master"
- "refs/heads/release/v*"
- "refs/tags/*"
event:
- push
- tag
Expand All @@ -79,6 +84,7 @@ steps:
include:
- "refs/heads/master"
- "refs/heads/release/v*"
- "refs/tags/*"
event:
- push
- tag
Expand All @@ -101,6 +107,7 @@ steps:
include:
- "refs/heads/master"
- "refs/heads/release/v*"
- "refs/tags/*"
event:
- push
- tag
Expand All @@ -113,14 +120,15 @@ 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:
ref:
include:
- "refs/heads/master"
- "refs/heads/release/v*"
- "refs/tags/*"
event:
- push
- tag
2 changes: 1 addition & 1 deletion scripts/build-embedded
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ tar -czf dist/${TARBALL} dist/${DIR}-embedded/
echo "Cleaning up..."
rm -r dist/${DIR}-embedded

ls -alR
ls -alR dist/

0 comments on commit c86cd9a

Please sign in to comment.