This commit is contained in:
2024-10-19 17:27:22 +08:00
parent 74a88e3fb6
commit 08c832c20a

View File

@@ -23,10 +23,13 @@ vfile=$(extra_dir)/emsVersion
# 读取版本信息 # 读取版本信息
version=$(shell grep "Version:" $(vfile) | awk '{print $$3}') version=$(shell grep "Version:" $(vfile) | awk '{print $$3}')
print-version:
@echo "Version: $(version)"
package: package:
# 输出版本信息和更新后的日期 # 输出版本信息和更新后的日期
echo "Version: $(version)" @echo "Version: $(version)"
echo "Release Date: $(current_date)" @echo "Release Date: $(current_date)"
rm -rf $(package_path) rm -rf $(package_path)
mkdir -p $(package_path) mkdir -p $(package_path)