mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* tool/redmine-backporter.rb: support new status 'WONTFIX'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ed762c0be1
commit
60a5a85da2
1 changed files with 1 additions and 1 deletions
|
@ -336,7 +336,7 @@ eom
|
||||||
h = data["issue"]["custom_fields"].find{|x|x["id"]==5}
|
h = data["issue"]["custom_fields"].find{|x|x["id"]==5}
|
||||||
if h and val = h["value"]
|
if h and val = h["value"]
|
||||||
case val[/(?:\A|, )#{Regexp.quote TARGET_VERSION}: ([^,]+)/, 1]
|
case val[/(?:\A|, )#{Regexp.quote TARGET_VERSION}: ([^,]+)/, 1]
|
||||||
when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'REJECTED'
|
when 'REQUIRED', 'UNKNOWN', 'DONTNEED', 'WONTFIX'
|
||||||
val[*$~.offset(1)] = 'DONE'
|
val[*$~.offset(1)] = 'DONE'
|
||||||
when 'DONE' # , /\A\d+\z/
|
when 'DONE' # , /\A\d+\z/
|
||||||
puts 'already backport is done'
|
puts 'already backport is done'
|
||||||
|
|
Loading…
Reference in a new issue