This commit is contained in:
2024-10-19 17:22:39 +08:00
parent 6c551ca91b
commit 8ac2425942

View File

@@ -1,4 +1,4 @@
#makefile for build package # makefile for build package
build_root=$(shell pwd) build_root=$(shell pwd)
project=ems project=ems
@@ -17,11 +17,11 @@ web_root=$(build_root)/../web.ems
package_file=$(package_name).tgz package_file=$(package_name).tgz
# 获取当前时间 # 获取当前时间
current_date=$(shell `date "+%Y-%m-%d %H:%M:%S"`) current_date=$(shell date "+%Y-%m-%d %H:%M:%S")
# 文件路径 # 文件路径
vfile=$(extra_dir)/emsVersion vfile=$(extra_dir)/emsVersion
# 读取版本信息 # 读取版本信息
version=$(shell `grep "Version:" $(vfile) | awk '{print $3}'`) version=$(shell grep "Version:" $(vfile) | awk '{print $3}')
package: package:
# 输出版本信息和更新后的日期 # 输出版本信息和更新后的日期