Last active
April 7, 2016 19:35
-
-
Save joecannatti/dd09cbd8f6cb8532f1865c2d2786bab3 to your computer and use it in GitHub Desktop.
Update Bundle update
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
# requires that have installed hub, https://github.com/github/hub | |
git checkout master && git reset --hard origin/master && git pull origin master && git checkout -b gem-update-`date +%Y-%m` && gem install bundler && bundle update && rake && git add -A && git commit -m "Bundle update `date +%Y-%m`" && git push origin gem-update-`date +%Y-%m` && hub pull-request -m "Bundle update `date +%Y-%m`"; if [[ $? = 0 ]]; then echo "SUCCESS"; else echo "FAIL"; fi; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment