blob: 2662c1e34b88ebd72b5536d4206cf49ce50de88c [file] [log] [blame]
Hal Canary4eb02aa2018-12-04 15:52:11 -05001#! /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.
5set -xe
6set -- 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
9for arg; do [ -f "$arg" ] || exit 1; done
10MSG="$(printf 'Cut SkQP %s\n\nNo-Try: true' "$(date +%Y-%m-%d)")"
11git merge -s ours origin/skqp/dev -m "$MSG"
12git add "$@"
13git commit --amend --reuse-message=HEAD