From 0ef13a176d50a33ebbbabdeb5e948ba67d018ef9 Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Thu, 22 Apr 2021 10:01:07 +0200 Subject: [PATCH] Do not consider regressions as a major bug by default --- generate-jenkins-changelog.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generate-jenkins-changelog.rb b/generate-jenkins-changelog.rb index 51773f4..a9774b1 100755 --- a/generate-jenkins-changelog.rb +++ b/generate-jenkins-changelog.rb @@ -77,10 +77,10 @@ entry['type'] = 'rfe' if labels.include?("developer") entry['type'] = 'rfe' if labels.include?("internal") entry['type'] = 'bug' if labels.include?("bug") + entry['type'] = 'bug' if labels.include?("regression-fix") entry['type'] = 'rfe' if labels.include?("rfe") entry['type'] = 'major bug' if labels.include?("major-bug") entry['type'] = 'major rfe' if labels.include?("major-rfe") - entry['type'] = 'major bug' if labels.include?("regression-fix") # Fetch categories by labels config['categories'].each do | category |