1#! /bin/sh
2# Copyright 2018 Google LLC.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5if [ -z "$1" ] || [ -z "$2" ]; then
6    echo usage: $0 COMMIT APK_PATH >&2
7    exit 1;
8fi
9NAME="skia-skqp/skqp-universal-$(git rev-parse "$1" | cut -b 1-16).apk"
10gsutil cp "$2" "gs://$NAME"
11echo "https://storage.googleapis.com/$NAME"
12python tools/skqp/make_apk_list.py
13
14