File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed
build/evergreen_config_lib Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,13 @@ functions:
23
23
script : |-
24
24
set -o errexit
25
25
set -o xtrace
26
- if [ "${is_patch}" = "true" ]; then
27
- # TODO: CDRIVER-3573 do not hardcode the version for patch builds.
26
+ # TODO: CDRIVER-3573 do not hardcode the version.
27
+ if [ "${project}" != "mongoc-c-driver" ]; then
28
+ # This is an older branch, like r1.17
29
+ VERSION_CURRENT="1.17.0-pre"
30
+ echo $VERSION_CURRENT > "VERSION_CURRENT"
31
+ VERSION=$VERSION_CURRENT-${version_id}
32
+ elif [ "${is_patch}" = "true" ]; then
28
33
VERSION_CURRENT="1.17.0-pre"
29
34
echo $VERSION_CURRENT > "VERSION_CURRENT"
30
35
VERSION=$VERSION_CURRENT-patch-${version_id}
Original file line number Diff line number Diff line change 27
27
('directory' , 'mongoc' ),
28
28
]))]),
29
29
shell_mongoc (r'''
30
- if [ "${is_patch}" = "true" ]; then
31
- # TODO: CDRIVER-3573 do not hardcode the version for patch builds.
30
+ # TODO: CDRIVER-3573 do not hardcode the version.
31
+ if [ "${project}" != "mongoc-c-driver" ]; then
32
+ # This is an older branch, like r1.17
33
+ VERSION_CURRENT="1.17.0-pre"
34
+ echo $VERSION_CURRENT > "VERSION_CURRENT"
35
+ VERSION=$VERSION_CURRENT-${version_id}
36
+ elif [ "${is_patch}" = "true" ]; then
32
37
VERSION_CURRENT="1.17.0-pre"
33
38
echo $VERSION_CURRENT > "VERSION_CURRENT"
34
39
VERSION=$VERSION_CURRENT-patch-${version_id}
You can’t perform that action at this time.
0 commit comments