Skip to content

Commit 0620ac5

Browse files
committed
Fix mongo download link as convention changed in official repo with > 4.0
1 parent 3b9a167 commit 0620ac5

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

.github/workflows/github-actions.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ on:
1111
tags:
1212
- 'v[0-9]+\.[0-9]+\.[0-9]+*'
1313
env:
14-
MONGODB_3_6: 3.6.13
15-
MONGODB_4_0: 4.0.13
14+
MONGODB_3_6: 3.6.14
15+
MONGODB_4_0: 4.0.23
1616
MONGODB_4_2: 4.2.12
1717
MONGODB_4_4: 4.4.4
1818

.github/workflows/install_mongo.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
MONGODB=$1
44

5+
# Mongo > 4.0 follows different name convention for download links
56
mongo_build=mongodb-linux-x86_64-${MONGODB}
7+
8+
if [[ "$MONGODB" == *"4."* ]] && [[ ! "$MONGODB" == *"4.0"* ]]; then
9+
echo "It's there."
10+
mongo_build=mongodb-linux-x86_64-ubuntu2004-v${MONGODB}-latest
11+
fi
12+
613
wget http://fastdl.mongodb.org/linux/$mongo_build.tgz
714
tar xzf $mongo_build.tgz
815
${PWD}/$mongo_build/bin/mongod --version

docs/changelog.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Development
77
===========
88
- (Fill this out as you fix issues and develop your features).
99
- Bugfix: manually setting SequenceField in DynamicDocument doesn't increment the counter #2471
10-
- Add MongoDB 4.4 to CI
10+
- Add MongoDB 4.2 and 4.4 to CI
1111

1212
Changes in 0.22.1
1313
=================

0 commit comments

Comments
 (0)