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

remotes/origin/HEAD
鲁树人 2 years ago
parent 64cb4774ea
commit 01efdbdfa4

@ -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"
} }
} }

@ -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 ;;

Loading…
Cancel
Save