File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -40,10 +40,10 @@ declare -r EVERGREEN_BUILD_URL_PREFIX="https://spruce.mongodb.com/version"
4040declare -r GIT_TAG=" r${PRODUCT_VERSION} "
4141GIT_COMMIT_HASH=" $( git rev-list --ignore-missing -n 1 " ${GIT_TAG} " ) "
4242set +e
43- GIT_BRANCH_MASTER =" $( git branch -a --contains " ${GIT_TAG} " | grep ' master $' ) "
43+ GIT_BRANCH_DEFAULT =" $( git branch -a --contains " ${GIT_TAG} " | grep ' main $' ) "
4444 GIT_BRANCH_PATCH=" $( git branch -a --contains " ${GIT_TAG} " | grep ' \.x$' ) "
4545set -e
46- if [ -n " ${GIT_BRANCH_MASTER } " ]; then
46+ if [ -n " ${GIT_BRANCH_DEFAULT } " ]; then
4747 declare -r EVERGREEN_BUILD_URL=" ${EVERGREEN_BUILD_URL_PREFIX} /${EVERGREEN_PROJECT_NAME_PREFIX} _${GIT_COMMIT_HASH} "
4848elif [ -n " ${GIT_BRANCH_PATCH} " ]; then
4949 # strip out the patch version
You can’t perform that action at this time.
0 commit comments