chore: don't prefix version string with "v" in package.json.
This commit is contained in:
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",
|
||||||
|
@ -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