update readme

This commit is contained in:
name 2022-02-05 15:36:36 +08:00
parent 9d655033aa
commit c87fd090db
2 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,8 @@
├── WeChatSetup # 微信安装包临时目录
│ └── temp # 临时目录
└── scripts # 脚本目录
└── destVersionRelease.sh # 获取安装包及取得版本号与 hash 值的脚本
├── destVersionRelease.sh # 获取安装包及取得版本号与 hash 值的脚本
└── notify.sh # 新release 时调用通知的脚本
```
## 说明

View File

@ -4,17 +4,17 @@ set -eo pipefail
if [ -z $GHTOKEN ]; then
>&2 echo -e "\033[1;31mMissing Github Token! Please get a BotToken from 'Github Settings->Developer settings->Personal access tokens' and set it in Repo Secrect\033[0m"
>&2 echo -e "\033[1;31mMissing Github Token(GHTOKEN)! Please get a BotToken from 'Github Settings->Developer settings->Personal access tokens' and set it in Repo Secrect\033[0m"
exit 1
fi
if [ -z $BOTTOKEN ]; then
>&2 echo -e "\033[1;31mMissing Bot Token! Please get a BotToken from @Botfather on Telegram and set it in Repo Secrect\033[0m"
>&2 echo -e "\033[1;31mMissing Bot Token(BOTTOKEN)! Please get a BotToken from @Botfather on Telegram and set it in Repo Secrect\033[0m"
exit 2
fi
if [ -z $CHATIDS ]; then
>&2 echo -e "\033[1;31mMissing ChatIds! Please get ChatId from @GroupIDbot on Telegram Chats(Muti chatids split with comma ',') and set it in Repo Environment Values\033[0m"
>&2 echo -e "\033[1;31mMissing ChatIds(CHATIDS)! Please get ChatId from @GroupIDbot on Telegram Chats(Muti chatids split with comma ',') and set it in Repo Environment Values\033[0m"
exit 2
fi