Commit df643ec3
Changed files (1)
lib
tasks
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