Skip to content

Commit

Permalink
Rakefile: Add release process.
Browse files Browse the repository at this point in the history
  • Loading branch information
igal committed Aug 11, 2012
1 parent 36e2381 commit 7e61e68
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
# encoding: UTF-8

=begin
RELEASE PROCESS
---------------
* Update VERSION file
* % rm -f Gemfile.lock; bundle
* % bundle exec rake gemspec build spec
* % bundle exec rake install
* Commit any changes
* % git tag v`cat VERSION`
* % git push --tags
* % bundle exec rake release
* % gem push $GEM
=end

require 'rubygems'
begin
require 'bundler/setup'
Expand Down Expand Up @@ -44,9 +60,3 @@ namespace :spork do
exec "spork"
end
end

desc "Freshen files like Gemfile.lock and .gemspec"
task :freshen do
sh "bundle check || bundle --local || bundle update --local || bundle update"
Rake::Task['gemspec'].invoke
end

0 comments on commit 7e61e68

Please sign in to comment.