Add release script

This commit is contained in:
mashirozx 2021-08-08 11:56:30 +08:00
parent 2455066c59
commit ebf33e97fe
3 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View File

@ -12,3 +12,5 @@ composer.phar
.DS_Store
# jest
coverage
# release
sakura-next.zip

View File

@ -5,7 +5,7 @@
define('SAKURA_VERSION', wp_get_theme()->get('Version'));
define('SAKURA_TEXT_DOMAIN', wp_get_theme()->get('TextDomain'));
define('SAKURA_DEVEPLOMENT', true);
define('SAKURA_DEVEPLOMENT', false);
define('SAKURA_DEVEPLOMENT_HOST', 'http://127.0.0.1:9000');
// PHP loaders

5
scripts/release.sh Normal file
View File

@ -0,0 +1,5 @@
yarn install
yarn build
yarn local-download:geoip2
composer install
zip -rq sakura-next.zip app