commit f985573ad66487cefcbec026651270ec5fc568c2 Author: aozhiwei Date: Wed Jul 4 16:17:23 2018 +0800 add scripts directory diff --git a/scripts/publish_php/boundle.sh b/scripts/publish_php/boundle.sh new file mode 100755 index 0000000..61207f6 --- /dev/null +++ b/scripts/publish_php/boundle.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +tag_name=`git status |grep '# On branch '|sed 's/# On branch //g'` +dir_name=`basename $PWD` +package_name=${dir_name}.tar.gz +#echo $tag_name +#echo $dir_name +#echo $package_name + +tar --exclude=*.git -chzf target/${package_name} webapp config diff --git a/scripts/publish_php/reload.sh b/scripts/publish_php/reload.sh new file mode 100644 index 0000000..6941f67 --- /dev/null +++ b/scripts/publish_php/reload.sh @@ -0,0 +1 @@ +echo 'success' diff --git a/scripts/publish_php/restart.sh b/scripts/publish_php/restart.sh new file mode 100644 index 0000000..6941f67 --- /dev/null +++ b/scripts/publish_php/restart.sh @@ -0,0 +1 @@ +echo 'success'