Skip to content

Instantly share code, notes, and snippets.

@planetexpress69
Last active January 5, 2016 11:14
Show Gist options
  • Save planetexpress69/fa8d03f94c238a995d69 to your computer and use it in GitHub Desktop.
Save planetexpress69/fa8d03f94c238a995d69 to your computer and use it in GitHub Desktop.
Ember project versioning
#!/bin/bash
if [ $# -eq 1 ]
then
version="$1"
echo "Bumping to version $version..."
npm version $version
git push --follow-tags
ember deploy production
exit 0
else
echo "No version number given!"
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment