1#!/bin/bash 2# Copyright 2020 The ChromiumOS Authors 3# Use of this source code is governed by a BSD-style license that can be 4# found in the LICENSE file. 5 6# See generated commit message for details on script. 7 8program=$1 9name=remove-build-targets 10 11changes=$(git status | grep "generated") 12if [[ -n "${changes}" ]]; then 13 echo "For ${program}, uploading: ${changes}" 14 git add -u 15 git commit -m" 16${program}: Removing build-targets config 17 18BUG=None 19TEST=cq 20 21Cq-Depend: chromium:2568394 22" 23 24 repo upload --no-verify --ht="${name}" 25fi 26