summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-02-20 14:16:41 +0100
committerRémy Coutable <remy@rymai.me>2018-02-20 16:12:48 +0100
commit91f03a7ab2542de274506dcb1857a7d24ea0a1f0 (patch)
tree31da752bbc76b80d536c879ad485638e4c76c343 /bin
parent07fc0ea756af640aab38c7b00c10e3bc68c90d89 (diff)
downloadgitlab-ce-91f03a7ab2542de274506dcb1857a7d24ea0a1f0.tar.gz
Generate EE changelog under ee/changelogs/unreleased/
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/changelog7
1 files changed, 4 insertions, 3 deletions
diff --git a/bin/changelog b/bin/changelog
index efe25032ba1..9b60f53ce40 100755
--- a/bin/changelog
+++ b/bin/changelog
@@ -214,9 +214,10 @@ class ChangelogEntry
end
def unreleased_path
- File.join('changelogs', 'unreleased').tap do |path|
- path << '-ee' if ee?
- end
+ path = File.join('changelogs', 'unreleased')
+ path = File.join('ee', path) if ee?
+
+ path
end
def ee?