This commit is contained in:
2024-10-19 17:39:40 +08:00
parent 08c832c20a
commit da290754ab

View File

@@ -21,7 +21,7 @@ current_date=$(shell date "+%Y-%m-%d %H:%M:%S")
# 文件路径
vfile=$(extra_dir)/emsVersion
# 读取版本信息
version=$(shell grep "Version:" $(vfile) | awk '{print $$3}')
version=$(shell grep "Version:" $(vfile) | awk -F' ' '{print $$2}')
print-version:
@echo "Version: $(version)"