skia2/tools/skqp/branch_skqp_dev.sh
Hal Canary 4eb02aac2d SkQP: branch script
Change-Id: Iac968b670d65bb6be7970bb81a403ed4eb96f56c
Reviewed-on: https://skia-review.googlesource.com/c/174315
Reviewed-by: Hal Canary <halcanary@google.com>
2018-12-04 20:53:57 +00:00

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