Skip to content

Commit

Permalink
Adopt new Solidus default branch
Browse files Browse the repository at this point in the history
  • Loading branch information
waiting-for-dev committed May 9, 2023
1 parent 9f86eee commit 05cefe4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ commands:
sudo apt-get update
sudo apt-get install -yq libvips-dev
- solidusio_extensions/test-branch:
branch: master
branch: main
command: |
export FRONTEND=starter
sudo gem update --system
Expand Down Expand Up @@ -64,14 +64,14 @@ workflows:
- run-specs-with-sqlite
- lint-code

"Weekly run specs against master":
"Weekly run specs against main":
triggers:
- schedule:
cron: "0 0 * * 4" # every Thursday
filters:
branches:
only:
- master
- main
jobs:
- run-specs-with-postgres
- run-specs-with-mysql
Expand Down
2 changes: 1 addition & 1 deletion bin/dummy-app
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if [ ! -d "dummy-app" ]; then
fi

cd ./dummy-app
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-master}" --version '> 0.a'
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-main}" --version '> 0.a'
unbundled bundle exec rake db:drop db:create
unbundled bundle exec rails generate solidus:install --auto-accept --payment-method=none --no-seed --no-sample "$@"
unbundled bundle add $extension_name --path ..
Expand Down
4 changes: 2 additions & 2 deletions bin/sandbox
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ ! -z $SOLIDUS_BRANCH ]
then
BRANCH=$SOLIDUS_BRANCH
else
BRANCH="master"
BRANCH="main"
fi

extension_name="solidus_paypal_commerce_platform"
Expand All @@ -47,7 +47,7 @@ if [ ! -d "sandbox" ]; then
fi

cd ./sandbox
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-master}" --version '> 0.a'
unbundled bundle add solidus --github solidusio/solidus --branch "${BRANCH:-main}" --version '> 0.a'
unbundled bundle exec rake db:drop db:create
unbundled bundle exec rails generate solidus:install --payment-method=none --auto-accept "$@"
unbundled bundle add ${extension_name} --path '../'
Expand Down

0 comments on commit 05cefe4

Please sign in to comment.