Commit 3d48d977 authored by Robert Speicher's avatar Robert Speicher

Merge branch 'zj-add-performance-changelog-cat' into 'master'

Add Performance category to the changelog

Closes #36417

See merge request gitlab-org/gitlab-ce!14865
parents b69861c2 2622a6de
......@@ -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
......
---
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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment