Rakefile in openstudio-analysis-0.1.5 vs Rakefile in openstudio-analysis-0.1.6
- old
+ new
@@ -18,9 +18,10 @@
system "gem install openstudio-analysis-#{OpenStudio::Analysis::VERSION}.gem --no-ri --no-rdoc"
end
desc "release gem (this builds, pushes to rubygems, and tags in github"
task :release => :build do
+ # add catch if there are local changes not committed to crash
system "git tag -a v#{OpenStudio::Analysis::VERSION} -m 'Tagging #{OpenStudio::Analysis::VERSION}'"
system "git push --tags"
system "gem push openstudio-analysis-#{OpenStudio::Analysis::VERSION}.gem"
system "rm openstudio-analysis-#{OpenStudio::Analysis::VERSION}.gem"
end