Skip to content

Commit

Permalink
💡 增加 pushdev 的脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangyd-c committed Jun 23, 2024
1 parent 398f440 commit ea8e501
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions docs/bin/push-dev.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
git push origin dev && git push github dev

0 comments on commit ea8e501

Please sign in to comment.