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"
40
40
declare -r GIT_TAG=" r${PRODUCT_VERSION} "
41
41
GIT_COMMIT_HASH=" $( git rev-list --ignore-missing -n 1 " ${GIT_TAG} " ) "
42
42
set +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 $' ) "
44
44
GIT_BRANCH_PATCH=" $( git branch -a --contains " ${GIT_TAG} " | grep ' \.x$' ) "
45
45
set -e
46
- if [ -n " ${GIT_BRANCH_MASTER } " ]; then
46
+ if [ -n " ${GIT_BRANCH_DEFAULT } " ]; then
47
47
declare -r EVERGREEN_BUILD_URL=" ${EVERGREEN_BUILD_URL_PREFIX} /${EVERGREEN_PROJECT_NAME_PREFIX} _${GIT_COMMIT_HASH} "
48
48
elif [ -n " ${GIT_BRANCH_PATCH} " ]; then
49
49
# strip out the patch version
You can’t perform that action at this time.
0 commit comments