This commit is contained in:
simonzhangsz committed 2024-10-19 17:20:30 +08:00
1 parent b4178f8632
commit 6c551ca91b
1 file changed
+2 -2
+2 -2
View File
@@ -20,10 +20,10 @@ package_file=$(package_name).tgz
current_date=$(shell `date "+%Y-%m-%d %H:%M:%S"`)
# 文件路径
vfile=$(extra_dir)/emsVersion
# 读取版本信息
version=$(shell `grep "Version:" $(vfile) | awk '{print $3}'`)
package:
# 读取版本信息
version=$(shell `grep "Version:" $(vfile) | awk '{print $3}'`)
# 输出版本信息和更新后的日期
echo "Version: $(version)"
echo "Release Date: $(current_date)"