summaryrefslogtreecommitdiff
path: root/bin/changelog
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2018-02-20 16:20:22 +0000
committerRobert Speicher <robert@gitlab.com>2018-02-20 16:20:22 +0000
commit94811ee1b62a478f2beb89be00ea93fa42f015dc (patch)
tree7c789861f9e9acec7fe4a8b97e043189bb20a565 /bin/changelog
parent644566041c803e7a82ae40a88f0a30cb05ce782a (diff)
parent91f03a7ab2542de274506dcb1857a7d24ea0a1f0 (diff)
downloadgitlab-ce-94811ee1b62a478f2beb89be00ea93fa42f015dc.tar.gz
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
Diffstat (limited to 'bin/changelog')
-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?