Skip to content

Commit

Permalink
Add release script
Browse files Browse the repository at this point in the history
  • Loading branch information
mashirozx committed Aug 8, 2021
1 parent 2455066 commit ebf33e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ composer.phar
.DS_Store
# jest
coverage
# release
sakura-next.zip
2 changes: 1 addition & 1 deletion app/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
yarn install
yarn build
yarn local-download:geoip2
composer install
zip -rq sakura-next.zip app

0 comments on commit ebf33e9

Please sign in to comment.