Class: T1k::Commands::Ship
- Inherits:
-
Object
- Object
- T1k::Commands::Ship
- Defined in:
- lib/t1k/commands/ship.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/t1k/commands/ship.rb', line 5 def self.run branch = `git branch | grep '*' | awk '{print $2}'` system "git checkout master" system "git pull --rebase" system "git merge #{branch.strip}" system "git commit -v" system "git push origin master" end |