This commit is contained in:
2024-03-06 04:07:18 +08:00
parent f1d629580e
commit 2f088815b1
3 changed files with 0 additions and 27 deletions
Binary file not shown.
BIN
View File
Binary file not shown.
-27
View File
@@ -1,27 +0,0 @@
#!/bin/bash
# 获取最新 release 中所有文件的名称
files=$(curl -s https://api.github.com/repos/Souma-Sumire/FFXIVChnTextPatch-Souma/releases/latest | jq -r '.assets[].name')
# 打印文件列表
echo "Files to download:"
echo "$files"
# 检查本地是否已经存在这些文件
for file in $files; do
if [ ! -f "$file" ]; then
# 如果本地不存在文件,则下载
echo "Downloading $file..."
curl -LO "https://github.com/Souma-Sumire/FFXIVChnTextPatch-Souma/releases/latest/download/$file"
fi
done
# 将下载的文件添加到 Git 仓库中
git add .
# 提交变更
git commit -m "Add latest release files"
# 推送到远程仓库
git push origin master