From 8dab270932d63fe8d7787c845c0611e1e16c1b9b Mon Sep 17 00:00:00 2001 From: kohsuke Date: Mon, 21 Dec 2009 18:39:36 +0000 Subject: [PATCH] [FIXED HUDSON-3482] release date is added to the changelog automatically git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@24774 71c3de6d-444a-0410-be80-ed276b4c234a --- update.changelog.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.changelog.rb b/update.changelog.rb index 69a6d20115..c92ab560c9 100644 --- a/update.changelog.rb +++ b/update.changelog.rb @@ -48,7 +48,7 @@ id.inc() ARGF.each do |line| if /=BEGIN=/ =~ line puts line - puts "

What's new in #{id}

" + puts "

What's new in #{id}

" puts "" puts "" @@ -57,5 +57,9 @@ ARGF.each do |line| if /=END=/ =~ line next end + if /=DATE=/ =~ line + puts line.gsub("",Time.now.strftime("(%Y/%m/%d)")) + next + end puts line end -- GitLab