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. 5 if [ -z "$1" ] || [ -z "$2" ]; then 6 echo usage: $0 COMMIT APK_PATH >&2 7 exit 1; 8 fi 9 NAME="skia-skqp/skqp-universal-$(git rev-parse "$1" | cut -b 1-16).apk" 10 gsutil cp "$2" "gs://$NAME" 11 echo "https://storage.googleapis.com/$NAME" 12 python tools/skqp/make_apk_list.py 13 14