Skip to content
Browse files

Changed build task to commit and push current branch.

  • Loading branch information...
1 parent 64bd8ab commit 3976ae2dd2e9267a2543044fdda1bd4705bcf90e @ihoka ihoka committed Apr 24, 2012
Showing with 8 additions and 4 deletions.
  1. +1 −2 bin/integrate_branch
  2. +7 −2 lib/build.rb
View
3 bin/integrate_branch
@@ -4,5 +4,4 @@ set -e
rake update_gems
bundle install
-git commit -am "Updated private gems."
-rake push_current_branch
+rake commit_and_push_current_branch
View
9 lib/build.rb
@@ -15,8 +15,8 @@ def update_latest_gems
new("Update latest gems").update_latest_gems
end
- def push_current_branch
- new("Push current branch").push_current_branch
+ def commit_and_push_current_branch
+ new("Push current branch").commit_and_push_current_branch
end
end
@@ -38,6 +38,11 @@ def update_latest_gems
Gems.update!
end
+ def commit_and_push_current_branch
+ commit("Updated bundle.")
+ push_current_branch
+ end
+
private
def validate_working_copy!
abort("Do not run this on the master branch.") if master_branch_current?

0 comments on commit 3976ae2

Please sign in to comment.
Something went wrong with that request. Please try again.