Created
January 9, 2013 03:42
-
-
Save bradical/4490354 to your computer and use it in GitHub Desktop.
Rails upgrade
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
cd /path/to/my/project | |
git branch rails_3_2_11_upgrade | |
vi Gemfile # Change: gem 'rails', "3.2.10" to: gem 'rails', "3.2.11" | |
bundle update rails | |
git commit -a -m "Upgrading Rails to 3.2.11 to fix security issues" | |
git push -u origin rails_3_2_11_upgrade | |
hub "Upgrade Rails to 3.2.11 to fix security issues" -b master # Create a PR from the branch; Note the issue number | |
hub browse user/project pull/<PULL_REQUEST_NUM> # Open it in the browser | |
# Merge that branch if you can! | |
# Let your CI server run your tests and deploy your changes | |
# Relax and profit!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment