Skip to content

Commit

Permalink
Adapt to new Solidus default branch name
Browse files Browse the repository at this point in the history
Ref. solidusio/solidus#5042

[skip ci]
  • Loading branch information
waiting-for-dev committed May 22, 2023
1 parent 86cecdf commit 0251fc9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ workflows:
jobs:
- run-specs-with-postgres
- run-specs-with-mysql
"Weekly run specs against master":
"Weekly run specs against main":
triggers:
- schedule:
cron: "0 0 * * 4" # every Thursday
Expand Down
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
solidus_git, solidus_frontend_git = if (branch == 'master') || (branch >= 'v3.2')
branch = ENV.fetch('SOLIDUS_BRANCH', 'main')
solidus_git, solidus_frontend_git = if (branch == 'main') || (branch >= 'v3.2')
%w[solidusio/solidus solidusio/solidus_frontend]
else
%w[solidusio/solidus] * 2
Expand Down

0 comments on commit 0251fc9

Please sign in to comment.