Commit 91f03a7a authored by Rémy Coutable's avatar Rémy Coutable

Generate EE changelog under ee/changelogs/unreleased/

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 07fc0ea7
...@@ -214,9 +214,10 @@ class ChangelogEntry ...@@ -214,9 +214,10 @@ class ChangelogEntry
end end
def unreleased_path def unreleased_path
File.join('changelogs', 'unreleased').tap do |path| path = File.join('changelogs', 'unreleased')
path << '-ee' if ee? path = File.join('ee', path) if ee?
end
path
end end
def ee? def ee?
......
...@@ -125,7 +125,7 @@ author: ...@@ -125,7 +125,7 @@ author:
type: type:
``` ```
If you're working on the GitLab EE repository, the entry will be added to If you're working on the GitLab EE repository, the entry will be added to
`changelogs/unreleased-ee/` instead. `ee/changelogs/unreleased/` instead.
### Arguments ### Arguments
......
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