Rakefile in golf-0.7.6 vs Rakefile in golf-0.7.7
- old
+ new
@@ -1,7 +1,8 @@
require 'bundler'
require 'rake/testtask'
+require 'convore-simple'
Bundler::GemHelper.install_tasks
task :default => [:test]
@@ -10,7 +11,9 @@
t.libs << "test/"
t.verbose = false
end
task 'push' do
- puts `gem build golf.gemspec |awk '$1 ~ / *File:/ {print $2}' |xargs gem push && gem build golf.gemspec |awk '$1 ~ / *File:/ {printf($2)}' | curl -u $(git config user.convore) -F message="<-" https://convore.com/api/topics/19590/messages/create.json`
+ myversion = `gem build golf.gemspec |awk '$1 ~ / *File:/ {printf($2)}'`
+ puts `gem push #{myversion}`
+ ConvoreSimple::Topic.say(myversion)
end