脚本

2019-09-17  本文已影响0人  一达
sudo gem install -n /usr/local/bin fir-cli  //安装fir

//上传ipa包
fir login token_key    //token
fir publish ipa_path    // ipa路径

钉钉机器人

contentInfo="已经完成打包"
curl "https://oapi.dingtalk.com/robot/send?access_token=token” -H "Content-Type: application/json" -d "{\"msgtype\": \"text\", \"text\": {\"content\": \"$contentInfo\"}}"

修改hosts

sudo vi /etc/hosts

变成linux可执行文件
chmod 777 build_project_script

清除MAC终端代理

env|grep -i proxy
export https_proxy=""  
export HTTP_PROXY=""
export http_proxy=""

上一篇 下一篇

猜你喜欢

热点阅读