更新发布脚本

This commit is contained in:
whyour 2022-04-05 23:14:47 +08:00
parent 17e17ac077
commit 3409085195

View File

@ -13,8 +13,8 @@ git push
echo -e "更新cdn文件" echo -e "更新cdn文件"
ts-node sample/tool.ts ts-node sample/tool.ts
string = $(cat src/version.ts | grep "version" | egrep "[^\']*" -o | egrep "\d\.*") string=$(cat src/version.ts | grep "version" | egrep "[^\']*" -o | egrep "\d\.*")
version = "v$string" version="v$string"
echo -e "当前版本$version" echo -e "当前版本$version"
echo -e "删除已经存在的本地tag" echo -e "删除已经存在的本地tag"