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 set -xe 6 set -- platform_tools/android/apps/skqp/src/main/assets/files.checksum \ 7 platform_tools/android/apps/skqp/src/main/assets/skqp/rendertests.txt \ 8 platform_tools/android/apps/skqp/src/main/assets/skqp/unittests.txt 9 for arg; do [ -f "$arg" ] || exit 1; done 10 MSG="$(printf 'Cut SkQP %s\n\nNo-Try: true' "$(date +%Y-%m-%d)")" 11 git merge -s ours origin/skqp/dev -m "$MSG" 12 git add "$@" 13 git commit --amend --reuse-message=HEAD 14