提交 482790db 编写于 作者: C Carl Lerche

Add a task to commit the changes

上级 dab1d8dc
......@@ -73,9 +73,22 @@
end
end
task :commit do
File.open('dist/commit_message.txt', 'w') do |f|
f.puts "# Preparing for #{version} release\n"
f.puts
f.puts "# UNCOMMENT THE LINE ABOVE TO APPROVE THIS COMMIT"
end
sh "git add . && git commit --verbose --template=dist/commit_message.txt"
rm_f "dist/commit_message.txt"
end
task :tag do
sh "git tag #{tag}"
end
task :full => %w(ensure_clean_state all:build commit)
end
namespace :all do
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册