Sha256: 73514d50dc99a98f402f9f269a13c0b0e10cc366521ebb1ad74bfcc799676f9f
Contents?: true
Size: 480 Bytes
Versions: 3
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 --no-limit -a` File.open(File.join(CHANGELOG_DIR, "CHANGELOG"), 'w') do |f| f << change_body end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
puppet-0.25.4 | tasks/rake/changelog.rake |
puppet-0.25.3 | tasks/rake/changelog.rake |
puppet-0.25.2 | tasks/rake/changelog.rake |