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