Change default branch to main across repository (#2514)

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-08-22 14:57:00 +05:30
committed by GitHub
parent 3b4211b581
commit dca306d87f
9 changed files with 18 additions and 18 deletions
+2 -2
View File
@@ -22,8 +22,8 @@ check_commands() {
# Ensure we're on the master branch
check_branch() {
curr_branch=$(git rev-parse --abbrev-ref HEAD)
if [ "$curr_branch" != "master" ]; then
echo "Not on master branch."
if [ "$curr_branch" != "main" ]; then
echo "Not on main branch."
exit 1
fi
echo "check_branch == PASSED"