gm更新脚本修改

main
PC-202302260912\Administrator 2023-07-26 17:51:33 +08:00
parent d92c1f5a74
commit c651a17a9a
1 changed files with 4 additions and 5 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash
. /etc/profile
#########################################################################
# File Name: jl_gm_update.sh
# Created on: 2019-09-04 10:54:43
@ -7,7 +7,6 @@
# Last Modified: 2022-07-13 16:48:25
# Description:
#########################################################################
. /etc/profile
BASE_DIR="/data/update/project/miduo_gm"
#表文件地址,不同渠道用表不一样
@ -19,13 +18,13 @@ ip=$2
file=txt/gm_ip.txt
#excel
cd ${TABLE_DIR}/data_excel/
cd ${TABLE_DIR}/data_excel/ || exit
svn up
cd ${TABLE_DIR}/execl_to_txt/
cd ${TABLE_DIR}/execl_to_txt/ || exit
java -Dfile.encoding=UTF-8 -Djava.ext.dirs=./lib ExcelUtils
#java
cd ${BASE_DIR}/
cd ${BASE_DIR}/ || exit
git pull
mvn clean package