blob: bac8e2004ac075546565ad507628f6a52d0ca0ce [file] [log] [blame]
mtklein674cd7e2015-01-28 09:39:10 -08001#!/bin/sh
mtklein674cd7e2015-01-28 09:39:10 -08002
3# Copies the latest bot-generated SKP set to ./skps.
4
5set -x
6set -e
7
8VERSION=`cat $(dirname $0)/../SKP_VERSION`
halcanary298ab762016-04-26 12:38:47 -07009if ! gsutil -m cp -r gs://chromium-skia-gm/playback_$VERSION/skps . ; then
10 cat >&2 <<EOF
11
12 Instructions for authenticating.
13
14 Install the utilities you need:
15 curl https://sdk.cloud.google.com | bash
16
17 Authenticate
18 gcloud auth login
19
20 Follow instructions on web page.
21
22 Set Project
23 gcloud config set project google.com:skia-buildbots
24
25EOF
26exit 1
27fi