File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
build/evergreen_config_lib Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ functions:
24
24
set -o errexit
25
25
set -o xtrace
26
26
# TODO: CDRIVER-3573 do not hardcode the version.
27
- if [ -n "${github_pr_number}" ]; then
28
- # This is a GitHub PR, probably branched from master
27
+ if [ -n "${github_pr_number}" -o "${is_patch}" = "true" ]; then
28
+ # This is a GitHub PR or patch build , probably branched from master
29
29
VERSION_CURRENT="1.18.0"
30
30
echo $VERSION_CURRENT > "VERSION_CURRENT"
31
31
VERSION=$VERSION_CURRENT-${version_id}
32
- elif [ "${is_patch}" = "true" ]; then
33
- VERSION=$(git describe --abbrev=7 --match='1.*')-patch-${version_id}
34
32
else
35
33
VERSION=latest
36
34
fi
Original file line number Diff line number Diff line change 28
28
]))]),
29
29
shell_mongoc (r'''
30
30
# TODO: CDRIVER-3573 do not hardcode the version.
31
- if [ -n "${github_pr_number}" ]; then
32
- # This is a GitHub PR, probably branched from master
31
+ if [ -n "${github_pr_number}" -o "${is_patch}" = "true" ]; then
32
+ # This is a GitHub PR or patch build , probably branched from master
33
33
VERSION_CURRENT="1.18.0"
34
34
echo $VERSION_CURRENT > "VERSION_CURRENT"
35
35
VERSION=$VERSION_CURRENT-${version_id}
36
- elif [ "${is_patch}" = "true" ]; then
37
- VERSION=$(git describe --abbrev=7 --match='1.*')-patch-${version_id}
38
36
else
39
37
VERSION=latest
40
38
fi
You can’t perform that action at this time.
0 commit comments