chore: don't prefix version string with "v" in package.json.
This commit is contained in:
parent
49b31301cf
commit
b480088bb6
|
@ -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…
Reference in New Issue
Block a user