Skip to content

Commit

Permalink
Merge pull request travis-ci#245 from meatballhat/pointing-at-new-art…
Browse files Browse the repository at this point in the history
…ifacts-binary-location

Pointing at current location for artifacts stable binary
  • Loading branch information
joshk committed Jun 13, 2014
2 parents 9851cd0 + 66faa3a commit f8d1ac4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/travis/build/script/addons/artifacts.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,14 @@ def install
def install_script
@install_script ||= <<-EOF.gsub(/^\s{14}/, '')
ARTIFACTS_DEST=$HOME/bin/artifacts
OS=$(uname | tr '[:upper:]' '[:lower:]')
ARCH=$(uname -m)
if [[ $ARCH == x86_64 ]] ; then
ARCH=amd64
fi
mkdir -p $(dirname "$ARTIFACTS_DEST")
curl -sL -o "$ARTIFACTS_DEST" \
https://s3.amazonaws.com/meatballhat/artifacts/linux/amd64/meatballhat/artifacts/stable/artifacts
https://s3.amazonaws.com/meatballhat/artifacts/stable/build/$OS/$ARCH/artifacts
chmod +x "$ARTIFACTS_DEST"
PATH="$(dirname "$ARTIFACTS_DEST"):$PATH" artifacts -v
EOF
Expand Down

0 comments on commit f8d1ac4

Please sign in to comment.