fix: 修复 build 时设置版本号

This commit is contained in:
Bai
2023-02-23 15:27:35 +08:00
committed by Jiangjie.Bai
parent 71c86a637c
commit 0b5d7c8ca1
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ else
fi
function change_version() {
sedi "s@Version <strong>.*</strong>@Version <strong>${VERSION}</strong>@g" "${project_dir}/src/layout/components/Footer/index.vue" || return 2
sedi "s@<strong> version-dev </strong>@<strong> ${VERSION} </strong>@g" "${project_dir}/src/layout/components/NavHeader/About.vue" || return 2
}
function install_deps() {