update release script from master to main (#1662)

#### What type of PR is this?

<!--
Add one of the following kinds:
/kind bug
/kind documentation
/kind feature
-->
/kind cleanup

#### What this PR does / why we need it:

Updates the release script to use main instead of master

#### Which issue(s) this PR fixes:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->

N/A

#### Special notes for your reviewer:

N/A

Signed-off-by: Charlie Drage <charlie@charliedrage.com>
This commit is contained in:
Charlie Drage 2023-07-05 15:10:03 -04:00 committed by GitHub
parent 02ffe65d86
commit 3783238f32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,9 +56,9 @@ init_sync() {
exit 0
fi
git checkout master
git checkout main
git fetch upstream
git merge upstream/master
git merge upstream/main
git checkout -b release-$1
}
@ -108,7 +108,7 @@ git_commit() {
gh pr create
echo ""
echo "PR opened against master to update version"
echo "PR opened against main to update version"
echo "MERGE THIS BEFORE CONTINUING"
echo ""
}
@ -119,8 +119,8 @@ git_pull() {
git_sync() {
git fetch upstream master
git rebase upstream/master
git fetch upstream main
git rebase upstream/main
}
generate_install_guide() {