Fix mongo download link as convention changed in official repo with > 4.0
This commit is contained in:
parent
3b9a167022
commit
0620ac5641
4
.github/workflows/github-actions.yml
vendored
4
.github/workflows/github-actions.yml
vendored
@ -11,8 +11,8 @@ on:
|
||||
tags:
|
||||
- 'v[0-9]+\.[0-9]+\.[0-9]+*'
|
||||
env:
|
||||
MONGODB_3_6: 3.6.13
|
||||
MONGODB_4_0: 4.0.13
|
||||
MONGODB_3_6: 3.6.14
|
||||
MONGODB_4_0: 4.0.23
|
||||
MONGODB_4_2: 4.2.12
|
||||
MONGODB_4_4: 4.4.4
|
||||
|
||||
|
7
.github/workflows/install_mongo.sh
vendored
7
.github/workflows/install_mongo.sh
vendored
@ -2,7 +2,14 @@
|
||||
|
||||
MONGODB=$1
|
||||
|
||||
# Mongo > 4.0 follows different name convention for download links
|
||||
mongo_build=mongodb-linux-x86_64-${MONGODB}
|
||||
|
||||
if [[ "$MONGODB" == *"4."* ]] && [[ ! "$MONGODB" == *"4.0"* ]]; then
|
||||
echo "It's there."
|
||||
mongo_build=mongodb-linux-x86_64-ubuntu2004-v${MONGODB}-latest
|
||||
fi
|
||||
|
||||
wget http://fastdl.mongodb.org/linux/$mongo_build.tgz
|
||||
tar xzf $mongo_build.tgz
|
||||
${PWD}/$mongo_build/bin/mongod --version
|
||||
|
@ -7,7 +7,7 @@ Development
|
||||
===========
|
||||
- (Fill this out as you fix issues and develop your features).
|
||||
- Bugfix: manually setting SequenceField in DynamicDocument doesn't increment the counter #2471
|
||||
- Add MongoDB 4.4 to CI
|
||||
- Add MongoDB 4.2 and 4.4 to CI
|
||||
|
||||
Changes in 0.22.1
|
||||
=================
|
||||
|
Loading…
x
Reference in New Issue
Block a user