jap/jap.sh
yadong.zhang 1034a0957b 🎨 Improving code
2021-02-20 15:35:52 +08:00

33 lines
571 B
Bash

#!/bin/bash
# 参考自 hutool 工具
help(){
echo "--------------------------------------------------------------------------"
echo ""
echo "usage: ./jap.sh [updv] [version]"
echo ""
echo "-updv [version num] Update all jap related versions."
echo ""
echo "--------------------------------------------------------------------------"
}
case "$1" in
'updv')
docs/bin/updVersion.sh $2
;;
'pd')
docs/bin/push-dev.sh
;;
'p')
docs/bin/push.sh
;;
'd')
docs/bin/deploy.sh
;;
'c')
docs/bin/codecov.sh $2
;;
*)
help
esac