Created
May 11, 2015 22:45
-
-
Save gregz67/018d534fa1bedb1f8f94 to your computer and use it in GitHub Desktop.
Simple cf deploy script
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
| #!/bin/bash | |
| set -e | |
| cf push customer_portal | |
| SHA=`git log --pretty=format:'%h' -n 1` | |
| NOW=`date +"%Y-%m-%d-%H-%M"` | |
| TAGNAME=`echo $NOW-Review-$SHA` | |
| git tag -a $TAGNAME -m "$NOW" | |
| git push origin --tags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment