diff options
| author | mo khan <mo@mokhan.ca> | 2013-06-05 21:37:49 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-06-05 21:37:49 -0600 |
| commit | df643ec3d5a3db099e23d21b8dfb204d0e881da7 (patch) | |
| tree | 9935501baa97a758bb365be61b4d4d9c7ca53225 /lib/tasks | |
| parent | 0b87aa534b586ddfaac4ea28933646831658e47a (diff) | |
git pull before deploying
Diffstat (limited to 'lib/tasks')
| -rw-r--r-- | lib/tasks/ci.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 78bae684..bc89a01b 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -4,6 +4,7 @@ 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 |
