From ea8e5014604154dd46e09da8ac2fd33dcd2e94d4 Mon Sep 17 00:00:00 2001 From: "yadong.zhang" Date: Sun, 23 Jun 2024 18:03:35 +0800 Subject: [PATCH] =?UTF-8?q?:bulb:=20=E5=A2=9E=E5=8A=A0=20pushdev=20?= =?UTF-8?q?=E7=9A=84=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cli.sh | 3 +++ docs/bin/push-dev.sh | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 docs/bin/push-dev.sh 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