utils: repos use 'main' as main devlopment branch (#5054)

roll_deps.h: SPIRV-Headers uses 'main'
check_code_format.h: SPIRV-Tools uses 'main'
This commit is contained in:
David Neto 2023-01-11 15:24:34 -05:00 committed by GitHub
parent 631f9bcb5e
commit bfd278617c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@
#
# This script assumes to be invoked at the project root directory.
BASE_BRANCH=${1:-master}
BASE_BRANCH=${1:-main}
FILES_TO_CHECK=$(git diff --name-only ${BASE_BRANCH} | grep -E ".*\.(cpp|cc|c\+\+|cxx|c|h|hpp)$")

View File

@ -27,7 +27,7 @@ googletest_trunk="origin/main"
re2_dir="external/re2/"
re2_trunk="origin/main"
spirv_headers_dir="external/spirv-headers/"
spirv_headers_trunk="origin/master"
spirv_headers_trunk="origin/main"
# This script assumes it's parent directory is the repo root.
repo_path=$(dirname "$0")/..