Skip to content

[Bug] mkctl version 打印版本号有些问题,docker-compose.yml 去读了,但是这里的变量给拉出来到 .env 去了 #3153

@zhainanshidai

Description

@zhainanshidai

Contact Information

No response

MaxKB Version

latest

Problem Description

Image
mkctl version 输出是空白.
mkctl version 打印版本号有些问题,docker-compose.yml 去读了,但是这里的变量给拉出来到 .env 去了

Steps to Reproduce

mkctl version 输出是空白.
function version() {
echo
maxkb_version=$(grep "MAXKB_VERSION" ${MAXKB_BASE}/maxkb/.env | awk -F'=' '{print $2}')
echo $(eval echo $maxkb_version)
echo
}
改成这样后可以了

The expected correct result

No response

Related log output

Additional Information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions