1
0
forked from um/web

chore: don't prefix version string with "v" in package.json.

This commit is contained in:
鲁树人 2022-11-26 20:02:52 +00:00
parent 64cb4774ea
commit 01efdbdfa4
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "unlock-music", "name": "unlock-music",
"version": "v1.10.3", "version": "1.10.3",
"ext_build": 0, "ext_build": 0,
"updateInfo": "完善音乐标签编辑功能,支持编辑更多标签", "updateInfo": "完善音乐标签编辑功能,支持编辑更多标签",
"license": "MIT", "license": "MIT",
@ -56,4 +56,4 @@
"vue-cli-plugin-element": "^1.0.1", "vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.14" "vue-template-compiler": "^2.6.14"
} }
} }

View File

@ -5,7 +5,7 @@ set -ex
cd "$(git rev-parse --show-toplevel)" cd "$(git rev-parse --show-toplevel)"
VERSION="$(jq -r ".version" <package.json)" VERSION="$(jq -r ".version" <package.json)"
DIST_NAME="um-web.$1.${VERSION}" DIST_NAME="um-web.$1.v${VERSION}"
case "$1" in case "$1" in
"modern") npm run build -- --modern ;; "modern") npm run build -- --modern ;;