Rakefile in curly-templates-1.0.1 vs Rakefile in curly-templates-2.0.0.beta1
- old
+ new
@@ -63,10 +63,10 @@
#
#############################################################################
desc "Create tag v#{version} and build and push #{gem_file} to Rubygems"
task :release => :build do
- unless `git branch` =~ /^\* master$/ || `git branch` =~ /^\* \d+-\d+-stable$/
+ unless `git branch` =~ /^\* master$/
puts "You must be on the master branch to release!"
exit!
end
sh "git commit --allow-empty -a -m 'Release #{version}'"
sh "git tag v#{version}"