Skip to content

Commit

Permalink
release on circle
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Mar 14, 2017
1 parent bd40ae6 commit 6e5fdf8
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/release
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

set -ex

VERSION=`./bin/version`

for PLATFORM in `./bin/platforms`; do
aws s3 cp --cache-control max-age=86400 tmp/build/heroku-v$VERSION-$PLATFORM.tar.xz s3://heroku-cli-assets/$CHANNEL/heroku-v$VERSION-$PLATFORM.tar.xz
aws s3 cp --cache-control max-age=86400 tmp/build/heroku-v$VERSION-$PLATFORM.tar.xz s3://heroku-cli-assets/$CHANNEL/heroku-$PLATFORM.tar.xz
aws s3 cp --cache-control max-age=86400 tmp/build/heroku-v$VERSION-$PLATFORM.tar.gz s3://heroku-cli-assets/$CHANNEL/heroku-v$VERSION-$PLATFORM.tar.gz
aws s3 cp --cache-control max-age=86400 tmp/build/heroku-v$VERSION-$PLATFORM.tar.gz s3://heroku-cli-assets/$CHANNEL/heroku-$PLATFORM.tar.gz
done
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ deployment:
branch: v6
commands:
- bin/build
- CHANNEL=v6 bin/release

0 comments on commit 6e5fdf8

Please sign in to comment.