Sha256: 350229da63b508fcb127f4913a2f86f3a37dae0fea6d4cc29b1c8a9492ca1580
Contents?: true
Size: 480 Bytes
Versions: 57
Compression:
Stored size: 480 Bytes
Contents
desc "Create a ChangeLog based on git commits." task :changelog do begin gitc = %x{which git-changelog} rescue puts "This task needs the git-changelog binary - http://github.com/ReinH/git-changelog" end CHANGELOG_DIR = "#{Dir.pwd}" mkdir(CHANGELOG_DIR) unless File.directory?(CHANGELOG_DIR) change_body = `git-changelog --limit=99999` File.open(File.join(CHANGELOG_DIR, "CHANGELOG"), 'w') do |f| f << change_body end end
Version data entries
57 entries across 57 versions & 3 rubygems