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
+4 -4
View File
@@ -55,11 +55,11 @@ Fix the build if it is not green. DON'T proceed unless build is GREEN!
6. Push this release-x.y.z branch to remote repo. Create a PR and wait for CI passed.
7. Now manually merge the release-x.y.z branch into master branch with Git command to prevent the commit SHA from being changed.
7. Now manually merge the release-x.y.z branch into main branch with Git command to prevent the commit SHA from being changed.
`git checkout master && git merge --ff-only release-<VERSION>`
`git checkout main && git merge --ff-only release-<VERSION>`
8. Test build from master branch for sanity check and make sure the master build is green
8. Test build from main branch for sanity check and make sure the main build is green
## Updating [Fission Charts](https://github.com/fission/fission-charts)
@@ -80,7 +80,7 @@ Before you save the release - UNCHECK the "This is a pre-release" checkbox. This
1. Documentation Update
a. Merge documentation PRs that are peer reviewed and get latest master locally.
a. Merge documentation PRs that are peer reviewed and get latest main locally.
b. In the repo fission/fission.io change version in version.sh file to latest version (x.y.z) and run build.sh script
+1 -1
View File
@@ -1,2 +1,2 @@
Install Guide: https://fission.io/docs/installation/
Full Changelog: https://github.com/fission/fission/blob/master/CHANGELOG.md
Full Changelog: https://github.com/fission/fission/blob/main/CHANGELOG.md
+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"