Skip to content

Instantly share code, notes, and snippets.

@chardos
Last active March 5, 2019 21:48
Show Gist options
  • Save chardos/e7cc12af4a45482387aa0251fa2fe5e6 to your computer and use it in GitHub Desktop.
Save chardos/e7cc12af4a45482387aa0251fa2fe5e6 to your computer and use it in GitHub Desktop.
# Swallow error output
npm run postrelease 2>/dev/null || echo "postrelease script"
# Basic if statements
if [ $1 -gt 100 ]
then
echo Hey that\'s a large number.
pwd
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment