Skip to content

Commit

Permalink
Fixed more vlad task stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
jamtur01 committed Jul 13, 2010
1 parent c766e32 commit 17b00ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config/deploy.rb
Expand Up @@ -25,10 +25,11 @@
sh "git commit -a -m 'Release dated #{date}'"
sh "git push --force origin release_#{date}"
sh "git checkout master"
sh "git branch -d release_#{date}"
sh "git branch -D release_#{date}"
end

remote_task :release do
date = DateTime.now.strftime("%Y%m%d")
repo = "#{deploy_to}/repo"
run "rm -fr #{repo}; mkdir -p #{repo}"
run "git clone #{repository} #{repo}"
Expand Down

0 comments on commit 17b00ac

Please sign in to comment.