Commit 94811ee1 authored by Robert Speicher's avatar Robert Speicher

Merge branch '43427-generate-ee-changelog-items-in-ee-changelogs' into 'master'

Resolve "Change `bin/changelog` to generate EE changelog items in `ee/changelogs`"

Closes #43427

See merge request gitlab-org/gitlab-ce!17238
parents 64456604 91f03a7a
...@@ -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