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}