Skip to content

Commit e339971

Browse files
committed
Update Rakefile for releasing only certains gems together
1 parent 696c9bc commit e339971

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Rakefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ SUBPROJECTS = [ 'elasticsearch',
2828
'elasticsearch-api',
2929
'elasticsearch-extensions' ].freeze
3030

31+
RELEASE_TOGETHER = [ 'elasticsearch',
32+
'elasticsearch-transport',
33+
'elasticsearch-api',
34+
'elasticsearch-xpack' ].freeze
35+
3136

3237
# TODO: Figure out "bundle exec or not"
3338
# subprojects.each { |project| $LOAD_PATH.unshift CURRENT_PATH.join(project, "lib").to_s }
@@ -85,7 +90,7 @@ end
8590

8691
desc "Release all subprojects to Rubygems"
8792
task :release do
88-
SUBPROJECTS.each do |project|
93+
RELEASE_TOGETHER.each do |project|
8994
next if project == 'elasticsearch-extensions'
9095
sh "cd #{CURRENT_PATH.join(project)} && rake release"
9196
puts '-'*80
@@ -188,7 +193,7 @@ task :update_version, :old, :new do |task, args|
188193
end
189194

190195
unless log_entries[:xpack].empty?
191-
changelog_update << "## XPACK:#{args[:new]}\n\n"
196+
changelog_update << "### XPACK\n\n"
192197
changelog_update << log_entries[:xpack]
193198
.map { |l| l.gsub /\[XPACK\] /, '' }
194199
.map { |l| "#{l}" }

0 commit comments

Comments
 (0)