Created
September 9, 2014 17:24
-
-
Save jdunne-kaplan/543d23ab4528d41898be to your computer and use it in GitHub Desktop.
kapx-courses deploy script
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 | |
branch=`git rev-parse --abbrev-ref HEAD` | |
if [[ $branch != "kapx-"* ]]; then | |
echo "Branch name '$branch' does not start with 'kapx-'." | |
exit | |
fi | |
bin/appcfg --application=kapx-live-demo --version=$branch update kapx_courses |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment