diff options
-rwxr-xr-x | bin/changelog | 1 | ||||
-rw-r--r-- | changelogs/unreleased/zj-add-performance-changelog-cat.yml | 5 | ||||
-rw-r--r-- | spec/bin/changelog_spec.rb | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/bin/changelog b/bin/changelog index 61d4de06e90..efe25032ba1 100755 --- a/bin/changelog +++ b/bin/changelog @@ -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 diff --git a/changelogs/unreleased/zj-add-performance-changelog-cat.yml b/changelogs/unreleased/zj-add-performance-changelog-cat.yml new file mode 100644 index 00000000000..3d58044a254 --- /dev/null +++ b/changelogs/unreleased/zj-add-performance-changelog-cat.yml @@ -0,0 +1,5 @@ +--- +title: Add Performance improvement as category on the changelog +merge_request: +author: +type: performance diff --git a/spec/bin/changelog_spec.rb b/spec/bin/changelog_spec.rb index 6d8b9865dcb..fc1bf67d7b9 100644 --- a/spec/bin/changelog_spec.rb +++ b/spec/bin/changelog_spec.rb @@ -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 |