Commit 2622a6de authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

Add Performance category to the changelog

Resolves gitlab-org/gitlab-ce#36417
parent 2fd814a3
...@@ -28,6 +28,7 @@ class ChangelogOptionParser ...@@ -28,6 +28,7 @@ class ChangelogOptionParser
Type.new('deprecated', 'New deprecation'), Type.new('deprecated', 'New deprecation'),
Type.new('removed', 'Feature removal'), Type.new('removed', 'Feature removal'),
Type.new('security', 'Security fix'), Type.new('security', 'Security fix'),
Type.new('performance', 'Performance improvement'),
Type.new('other', 'Other') Type.new('other', 'Other')
].freeze ].freeze
TYPES_OFFSET = 1 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 ...@@ -84,7 +84,7 @@ describe 'bin/changelog' do
expect do expect do
expect do expect do
expect { described_class.read_type }.to raise_error(SystemExit) 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.to output.to_stdout
end end
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