Skip to content

Commit

Permalink
Merge pull request #5911 from mamhoff/release-solidus-promotions-too
Browse files Browse the repository at this point in the history
Include solidus_promotions in release tasks
  • Loading branch information
tvdeyen authored Nov 12, 2024
2 parents f16b59d + 245816f commit a89b955
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ changelog:
- title: Solidus Sample
labels:
- "changelog:solidus_sample"
- title: Solidus Promotions
labels:
- "changelog:solidus_promotions"
2 changes: 1 addition & 1 deletion tasks/releasing.rake
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

require 'bundler/gem_tasks'

SOLIDUS_GEM_NAMES = %w[core api backend sample]
SOLIDUS_GEM_NAMES = %w[core api backend sample promotions]

%w[build install].each do |task_name|
desc "Run rake #{task} for each Solidus gem"
Expand Down
6 changes: 4 additions & 2 deletions tasks/testing.rake
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,16 @@ def subproject_task(project, task, title: project, task_name: nil)
end
end

SOLIDUS_GEM_NAMES = %w[core api backend frontend sample promotions]

%w[spec db:drop db:create db:migrate db:reset].each do |task|
%w(api backend core frontend sample).each do |project|
SOLIDUS_GEM_NAMES.each do |project|
desc "Run specs for #{project}" if task == 'spec'
subproject_task(project, task)
end

desc "Run rake #{task} for each Solidus engine"
task task => %w(api backend core frontend sample).map { |p| "#{task}:#{p}" }
task task => SOLIDUS_GEM_NAMES.map { |p| "#{task}:#{p}" }
end

desc "Run backend JS specs"
Expand Down

0 comments on commit a89b955

Please sign in to comment.