This commit is contained in:
lightings 2023-05-31 10:22:55 +08:00
parent aa5a9d5fbc
commit 8079fc9a83
3 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,6 @@ tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'`
dir_name=`basename $PWD`
package_name=${dir_name}.tar.gz
tar --exclude=*.git --exclude=logs -cvzf target/${package_name} pomelo pomelo-globalchannel-plugin shared game-server proxy common.sh reload.sh restart.sh config
tar --exclude=*.git --exclude=game-server/logs -cvzf target/${package_name} pomelo pomelo-globalchannel-plugin shared game-server proxy common.sh reload.sh restart.sh config
echo 'success'

2
restart_server.sh Normal file
View File

@ -0,0 +1,2 @@
cd game-server
npm run start