Sha256: 59d3c4f66604f28d9763ac31ebd3505680a8527f41df528f39d049a08c399ce6
Contents?: true
Size: 473 Bytes
Versions: 3
Compression:
Stored size: 473 Bytes
Contents
#!/usr/bin/env ratch # generate changelogs file = 'log/History.txt' out = 'log/Release.txt' name, version = *File.basename(glob("meta/*.roll").first).chomp('.roll').split('-') main :changelog => [:recent] do mkdir_p "doc/log" svn "log --xml > doc/log/changelog.xml" end task :recent do changes = /^===\s*#{version}(.*?)\n===/m.match(File.read(file))[0] changes = changes.chomp('===').strip.sub(/^===\s+/, 'TAG ') File.open(out, 'w'){ |f| f << changes } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tmail-1.1.1 | bat/changelog |
tmail-1.2.1 | script/changelog |
tmail-1.2.0 | script/changelog |