diff --git a/cli.sh b/cli.sh index a004a6a1..16623eed 100644 --- a/cli.sh +++ b/cli.sh @@ -20,6 +20,9 @@ case "$1" in 'p') docs/bin/push.sh ;; + 'pd') + docs/bin/push-dev.sh + ;; 'dd') read -p '是否重新执行 mvn package?[y/n]' repeat if [ "${repeat}" = "y" -o "${repeat}" = "Y" ];then diff --git a/docs/bin/push-dev.sh b/docs/bin/push-dev.sh new file mode 100644 index 00000000..227cb006 --- /dev/null +++ b/docs/bin/push-dev.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +git push origin dev && git push github dev