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

初期インストールプラグインをパッケージ対象に #5413

Merged
merged 2 commits into from
Jun 29, 2022
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
65 changes: 32 additions & 33 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,42 +42,41 @@ jobs:
- name: Translate to templates
run: php bin/template_jp.php

# - name: Setup to EC-CUBE
# env:
# APP_ENV: 'prod'
# DATABASE_URL: postgres://postgres:password@127.0.0.1:5432/eccube_db
# DATABASE_SERVER_VERSION: 14
# run: |
# rm -rf $GITHUB_WORKSPACE/app/Plugin/*
# echo "APP_ENV=${APP_ENV}" > .env
# bin/console doctrine:database:create --env=dev
# bin/console doctrine:schema:create --env=dev
# bin/console eccube:fixtures:load --env=dev
- name: Setup to EC-CUBE
env:
APP_ENV: 'prod'
DATABASE_URL: postgres://postgres:password@127.0.0.1:5432/eccube_db
DATABASE_SERVER_VERSION: 14
run: |
rm -rf $GITHUB_WORKSPACE/app/Plugin/*
echo "APP_ENV=${APP_ENV}" > .env
bin/console doctrine:database:create --env=dev
bin/console doctrine:schema:create --env=dev
bin/console eccube:fixtures:load --env=dev

# - name: Install Plugins
# env:
# APP_ENV: 'prod'
# DATABASE_URL: postgres://postgres:password@127.0.0.1:5432/eccube_db
# DATABASE_SERVER_VERSION: 14
# run: |
# bin/console eccube:composer:require "ec-cube/recommend4"
# bin/console eccube:composer:require "ec-cube/coupon4"
# bin/console eccube:composer:require "ec-cube/mailmagazine4"
# bin/console eccube:composer:require "ec-cube/salesreport4"
# bin/console eccube:composer:require "ec-cube/relatedproduct4"
# bin/console eccube:composer:require "ec-cube/securitychecker4"
# bin/console eccube:composer:require "ec-cube/productreview4"
# bin/console eccube:composer:require "ec-cube/api"
# bin/console eccube:composer:require "ec-cube/sitekit"
# bin/console eccube:composer:require "ec-cube/gmc"
- name: Install Plugins
env:
APP_ENV: 'prod'
DATABASE_URL: postgres://postgres:password@127.0.0.1:5432/eccube_db
DATABASE_SERVER_VERSION: 14
run: |
bin/console eccube:composer:require "ec-cube/recommend42"
bin/console eccube:composer:require "ec-cube/coupon42"
bin/console eccube:composer:require "ec-cube/mailmagazine42"
bin/console eccube:composer:require "ec-cube/salesreport42"
bin/console eccube:composer:require "ec-cube/relatedproduct42"
bin/console eccube:composer:require "ec-cube/securitychecker42"
bin/console eccube:composer:require "ec-cube/productreview42"
bin/console eccube:composer:require "ec-cube/api42"
bin/console eccube:composer:require "ec-cube/sitekit42"

# - name: revert to config platform.php
# run: composer config platform.php 7.4.0
- name: revert to config platform.php
run: composer config platform.php 7.4.0

# - name: Pre Install Plugins
# env:
# PGPASSWORD: 'password'
# run: psql eccube_db -h 127.0.0.1 -U postgres -c "select id,name,code,0 as enabled,version,source,0 as initialized,'2021-08-13 00:00:00' as create_date,'2021-08-13 00:00:00' as update_date,discriminator_type from dtb_plugin;" -A -F, --pset footer > src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv
- name: Pre Install Plugins
env:
PGPASSWORD: 'password'
run: psql eccube_db -h 127.0.0.1 -U postgres -c "select id,name,code,0 as enabled,version,source,0 as initialized,'2021-08-13 00:00:00' as create_date,'2021-08-13 00:00:00' as update_date,discriminator_type from dtb_plugin;" -A -F, --pset footer > src/Eccube/Resource/doctrine/import_csv/ja/dtb_plugin.csv

- name: Packaging
working-directory: ../
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eccube",
"version": "4.2.0-alpha",
"version": "4.2.0-beta",
"description": "EC-CUBE EC open platform.",
"main": "index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion src/Eccube/Common/Constant.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class Constant
/**
* EC-CUBE VERSION.
*/
const VERSION = '4.2.0-alpha';
const VERSION = '4.2.0-beta';

/**
* Enable value.
Expand Down