Skip to content

Instantly share code, notes, and snippets.

@jdunne-kaplan
Created September 9, 2014 17:24
Show Gist options
  • Save jdunne-kaplan/543d23ab4528d41898be to your computer and use it in GitHub Desktop.
Save jdunne-kaplan/543d23ab4528d41898be to your computer and use it in GitHub Desktop.
kapx-courses deploy script
#!/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