Skip to content

Commit 47fd6c4

Browse files
committed
Run Mongo release from Docker
1 parent 3215879 commit 47fd6c4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

bin/release-binary.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,9 @@ fi
2525

2626
echo "Release: $FIELD as $VERSION"
2727

28-
mongo "${MONGO_URL}" --username="${MONGO_USERNAME}" --password="${MONGO_PASSWORD}" -eval "db.application.updateOne({}, {\$set: { \"$FIELD\": \"$VERSION\"}});"
28+
docker run mongo:3.2 mongo "${MONGO_URL}" \
29+
--username="${MONGO_USERNAME}" \
30+
--password="${MONGO_PASSWORD}" \
31+
--quiet \
32+
--eval "db.application.updateOne({}, {\$set: { \"$FIELD\": \"$VERSION\"}});"
33+

0 commit comments

Comments
 (0)