Created
January 12, 2011 23:25
-
-
Save mdornseif/777108 to your computer and use it in GitHub Desktop.
tag deploys for appengine
This file contains hidden or 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
deploy: dependencies check | |
# index must be clean (no modified files) | |
git diff-index --quiet --cached HEAD | |
# no uncomitted changes | |
git diff-files --quiet | |
# create a branch for the current version | |
git branch -f deploy_`grep -E '^version: ' app.yaml | cut -d ' ' -f 2` | |
# push current code to that branch | |
git push -f . deploy_`grep -E '^version: ' app.yaml | cut -d ' ' -f 2` | |
# install on AppEngine | |
appcfg.py update . | |
# upload tagged version to github | |
git push origin deploy_`grep -E '^version: ' app.yaml | cut -d ' ' -f 2` | |
# jetzt bitte zwitschern | |
open https://zwitschr.hudora.biz/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment