Skip to content

Commit

Permalink
Run Mongo release from Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0der committed Feb 12, 2023
1 parent 3215879 commit 47fd6c4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bin/release-binary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,9 @@ fi

echo "Release: $FIELD as $VERSION"

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

0 comments on commit 47fd6c4

Please sign in to comment.