fix version

This commit is contained in:
changjin wei(魏昌进) 2025-02-05 07:51:50 +08:00
parent 58c79f0eb3
commit a86c489694

View File

@ -4,12 +4,7 @@
EXT_DIR=$(cd "$(dirname "$0")" && pwd)
# 生成 YYYY.MM.DD.HH.MM 格式的时间戳
hour=$(date +%-H)
if [ "$hour" -eq 0 ]; then
VERSION=$(date +%y.%-m%d.%-H%M)
else
VERSION=$(date +%y.%-m%d.%-H%M)
fi
VERSION=$(date +%y.%-m%d.1%H%M)
# 颜色输出