diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-18 14:56:26 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-12-18 14:56:26 -0200 |
commit | 7c4080aac42ffc109693dd20672ab3bf09a9db9b (patch) | |
tree | e517e53851f85c39d37aa0ed345df4d070f75d13 /tasks | |
parent | 1c47f7d1849ee8b4283d4836d400098f483cc250 (diff) | |
download | rails-7c4080aac42ffc109693dd20672ab3bf09a9db9b.tar.gz rails-7c4080aac42ffc109693dd20672ab3bf09a9db9b.tar.bz2 rails-7c4080aac42ffc109693dd20672ab3bf09a9db9b.zip |
Add task to test the release preparation
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/release.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tasks/release.rb b/tasks/release.rb index d935cdc53e..ea7f66a171 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -57,8 +57,6 @@ directory "pkg" sh "gem install #{gem}" end - task :prep_release => [:ensure_clean_state, :build] - task :push => :build do sh "gem push #{gem}" end @@ -139,5 +137,7 @@ namespace :all do sh "git push --tags" end + task :prep_release => %w(ensure_clean_state build) + task :release => %w(ensure_clean_state build bundle commit tag push) end |