Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include solidus_promotions in release tasks #5911

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading