ja.sh 540 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/bash

# 参考自 hutool 工具
help(){
  echo "--------------------------------------------------------------------------"
  echo ""
  echo "usage: ./ja.sh [updv]"
  echo ""
  echo "-updv [version num]   Update all justauth related versions."
  echo ""
  echo "--------------------------------------------------------------------------"
}

case "$1" in
  'updv')
    bin/updVersion.sh $2
	;;
智布道's avatar
智布道 已提交
18 19 20
  'ppd')
    bin/pull-dev.sh
	;;
智布道's avatar
智布道 已提交
21 22 23 24 25 26
  'pd')
    bin/push-dev.sh
	;;
  'p')
    bin/push.sh
	;;
智布道's avatar
智布道 已提交
27 28 29
  'd')
    bin/deploy.sh
	;;
30 31 32
  *)
    help
esac