Commit b6503abf

mo khan <mo@mokhan.ca>
2013-06-06 03:50:26
remove unncessary branch switching jenkins should handle this
1 parent df643ec
Changed files (2)
lib/tasks/ci.rake
@@ -4,7 +4,6 @@ namespace :ci do
   namespace :deploy do
     task :staging do
       now = Time.now
-      sh "git pull"
       sh "git tag -a 'staging-#{now.strftime('%Y-%m-%d')}-#{now.to_i}-jenkins-continuous-deployment' -m 'just push it'"
       sh "git push --tags"
       Rake::Task['deploy:staging'].invoke
script/deploy-staging.sh
@@ -6,5 +6,4 @@ echo 'switch gemset'
 rvm use ruby-2.0.0-p195@cakeside --create
 
 echo 'bundle install'
-git checkout master
 bundle exec rake ci:deploy:staging --trace