Rakefile in soulmate_rails-0.2.1 vs Rakefile in soulmate_rails-0.3.0

- old
+ new

@@ -18,7 +18,14 @@ sh "gem install pkg/soulmate_rails-#{SoulmateRails::VERSION}.gem" end desc 'Open an irb session preloaded with this library' task :console do - sh 'irb -rubygems -I lib -r soulmate_rails.rb' + sh 'irb -rubygems -I lib:spec -r soulmate_rails.rb -r spec_helper.rb' +end + +desc 'Release the gem' +task :release => :build do + sh "git tag -a 'v#{SoulmateRails::VERSION}' -m 'Version #{SoulmateRails::VERSION}'" + sh 'git push origin master --tags' + sh "gem push pkg/soulmate_rails-#{SoulmateRails::VERSION}.gem" end