skia2/tools/skqp/upload_apk
Hal Canary 5ee6fc26df SkQP: doc simplify, make_apk_list to python, upload_apk tool
No-Try: true

Change-Id: If00eda1b8261c8512114e2e113f4c00ecd04815c
Reviewed-on: https://skia-review.googlesource.com/c/173765
Reviewed-by: Hal Canary <halcanary@google.com>
2018-11-30 20:54:01 +00:00

14 lines
407 B
Bash
Executable File

#! /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
NAME="skia-skqp/skqp-universal-$(git log -1 --format=%h "$1").apk"
gsutil cp "$2" "gs://$NAME"
echo "https://storage.googleapis.com/$NAME"
python tools/skqp/make_apk_list.py