Add Performance category to the changelog
Resolves gitlab-org/gitlab-ce#36417
This commit is contained in:
parent
2fd814a328
commit
2622a6de59
3 changed files with 7 additions and 1 deletions
|
@ -28,6 +28,7 @@ class ChangelogOptionParser
|
|||
Type.new('deprecated', 'New deprecation'),
|
||||
Type.new('removed', 'Feature removal'),
|
||||
Type.new('security', 'Security fix'),
|
||||
Type.new('performance', 'Performance improvement'),
|
||||
Type.new('other', 'Other')
|
||||
].freeze
|
||||
TYPES_OFFSET = 1
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Add Performance improvement as category on the changelog
|
||||
merge_request:
|
||||
author:
|
||||
type: performance
|
|
@ -84,7 +84,7 @@ describe 'bin/changelog' do
|
|||
expect do
|
||||
expect do
|
||||
expect { described_class.read_type }.to raise_error(SystemExit)
|
||||
end.to output("Invalid category index, please select an index between 1 and 7\n").to_stderr
|
||||
end.to output("Invalid category index, please select an index between 1 and 8\n").to_stderr
|
||||
end.to output.to_stdout
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue