1#!/bin/bash 2# Copyright 2021 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 8project=$1 9name=add-all-project-owners 10 11changes=$(git status | grep "OWNERS") 12if [[ -n "${changes}" ]]; then 13 echo "For ${project}, uploading: ${changes}" 14 git commit -m" 15${project}: Adding all_projects OWNERS 16 17Adding owners to support easy refactors across all programs/projects. 18 19BUG=b:195297624 20TEST=cq 21" 22 23 repo upload --no-verify -y --ht="${name}" 24fi 25