更新 OpenWrt/upload.sh
Signed-off-by: zhao <zhao@noreply.localhost>
This commit is contained in:
parent
22c473efae
commit
9540a78779
@ -44,12 +44,6 @@ for url in $ASSETS; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# 重命名文件
|
# 重命名文件
|
||||||
for file in openwrt*; do
|
rename 's/^openwrt/zerowrt-plus-$date/' openwrt*
|
||||||
if [ -e "$file" ]; then
|
|
||||||
newname="zerowrt-plus-${DATE_VERSION}${file#openwrt}"
|
|
||||||
echo "重命名: $file → $newname"
|
|
||||||
mv -- "$file" "$newname"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "✅ 下载和重命名完成"
|
echo "✅ 下载和重命名完成"
|
Loading…
Reference in New Issue
Block a user