Skip to content

Instantly share code, notes, and snippets.

@tgoldenberg
Created October 21, 2016 21:43
Show Gist options
  • Select an option

  • Save tgoldenberg/f1911d58a81d2a44c420619ad218d0f9 to your computer and use it in GitHub Desktop.

Select an option

Save tgoldenberg/f1911d58a81d2a44c420619ad218d0f9 to your computer and use it in GitHub Desktop.
# excerpt from deploy script
METEORVERSION="$(meteor --version)"
GITVERSION="$(git --version)"
YARNVERSION="$(yarn --version)"
NODEJSVERSION="$(node --version)"
echo "${GITVERSION}"
echo "${METEORVERSION}"
echo "${YARNVERSION}"
echo "${NODEJSVERSION}"
if [ "$NODEJSVERSION" != "v6.0.0" ]; then
echo "Exiting due to wrong NodeJS version. Expected: v6.0.0"
exit
fi
# ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment