From 5d33b43f70aa3d4dcc96f01b3ef29a2ecad72d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Busqu=C3=A9?= Date: Mon, 24 Apr 2023 15:57:28 +0200 Subject: [PATCH] Adopt new Solidus default branch Ref. https://github.com/solidusio/solidus/pull/5042 --- .circleci/config.yml | 6 +++--- bin/dummy-app | 2 +- bin/sandbox | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d16b7c2..8627790 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 @@ -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 diff --git a/bin/dummy-app b/bin/dummy-app index e6c085c..5acbc30 100755 --- a/bin/dummy-app +++ b/bin/dummy-app @@ -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 .. diff --git a/bin/sandbox b/bin/sandbox index bd96ffe..3d95d5a 100755 --- a/bin/sandbox +++ b/bin/sandbox @@ -22,7 +22,7 @@ if [ ! -z $SOLIDUS_BRANCH ] then BRANCH=$SOLIDUS_BRANCH else - BRANCH="master" + BRANCH="main" fi extension_name="solidus_paypal_commerce_platform" @@ -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 '../'