Last active
January 5, 2016 11:14
-
-
Save planetexpress69/fa8d03f94c238a995d69 to your computer and use it in GitHub Desktop.
Ember project versioning
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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