Skip to content

Commit

Permalink
Changelog format modified to be less verbose.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Jul 28, 2016
1 parent 55385f9 commit 8966d4c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/releasetools/changelog.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ append template "\n\n"
set date [clock format [clock seconds]]
set template [string map [list %ver% $ver %date% $date] $template]

append template [exec git log $branch~30..$branch "--format=format:+-------------------------------------------------------------------------------%n| %s%n| By %an, %ai%n+--------------------------------------------------------------------------------%nhttps://github.com/antirez/redis/commit/%H%n%n%b" --stat]
append template [exec git log $branch~30..$branch "--format=format:%an in commit %h:%n %s" --shortstat]

#Older, more verbose version.
#
#append template [exec git log $branch~30..$branch "--format=format:+-------------------------------------------------------------------------------%n| %s%n| By %an, %ai%n+--------------------------------------------------------------------------------%nhttps://github.com/antirez/redis/commit/%H%n%n%b" --stat]

puts $template

0 comments on commit 8966d4c

Please sign in to comment.