mirror of
https://github.com/mashirozx/sakura.git
synced 2024-11-13 10:28:13 +08:00
Add release script
This commit is contained in:
parent
2455066c59
commit
ebf33e97fe
2
.gitignore
vendored
2
.gitignore
vendored
@ -12,3 +12,5 @@ composer.phar
|
||||
.DS_Store
|
||||
# jest
|
||||
coverage
|
||||
# release
|
||||
sakura-next.zip
|
||||
|
@ -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
5
scripts/release.sh
Normal file
@ -0,0 +1,5 @@
|
||||
yarn install
|
||||
yarn build
|
||||
yarn local-download:geoip2
|
||||
composer install
|
||||
zip -rq sakura-next.zip app
|
Loading…
Reference in New Issue
Block a user