Skip to content

Commit

Permalink
Update version check regex
Browse files Browse the repository at this point in the history
  • Loading branch information
gcollazo committed May 7, 2016
1 parent 9fc8832 commit b6788bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ echo " -- Current mongodb.app version: $CURR_MONGO"

# =========================== LATEST VERSION INFO ==============================
# Get latest mongodb Production Relase version
VERSION=$(curl -s https://www.mongodb.org/downloads | grep -o 'Current Stable Release (.*)' | grep -o '[0-9]*\.[0-9]*\.[0-9]*')
VERSION=$(curl -s https://www.mongodb.com/download-center | grep -o 'Current Stable Release (.*)</span>' | grep -o '[0-9]*\.[0-9]*\.[0-9]*')
echo " -- Latest mongodb version: $VERSION"


Expand Down

0 comments on commit b6788bd

Please sign in to comment.