lib/tasks/lookbook_tasks.rake in lookbook-0.4.0.beta.2 vs lib/tasks/lookbook_tasks.rake in lookbook-0.4.1
- old
+ new
@@ -9,7 +9,12 @@
new_version = args[:version].sub("v", "").tr("-", ".")
file = File.open(filename)
contents = file.read
File.write(filename, contents.gsub(current_version, new_version))
end
+
+ desc "Build Gem and push to RubyGems"
+ task :build_and_push do
+ sh("rake build && gem push pkg/lookbook-#{Lookbook::VERSION}.gem")
+ end
end
end