From 5f8254dfef5fdf5efdb815f5aff67eea47969a16 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Mon, 3 Feb 2020 12:38:48 +0800 Subject: [PATCH] 1 --- scripts/publish_java/boundle.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/publish_java/boundle.sh b/scripts/publish_java/boundle.sh index 4634780..e37b1a9 100644 --- a/scripts/publish_java/boundle.sh +++ b/scripts/publish_java/boundle.sh @@ -14,9 +14,9 @@ dir_name=`basename $PWD` package_name=${dir_name}.tar.gz reg='\.*D[1-9]$' -if [[ $tag_name =~ $reg ]] +if [[ $dir_name =~ $reg ]] then touch bin/is_test_env fi -touch bin/is_test_env + tar --exclude=*.git -chzf target/${package_name} bin common.sh reload.sh restart.sh start_instance.sh manage.py config lib ${EXT_PKG_FILES}