diff --git a/bin/package b/bin/package index 423146ea1e..5cf034b9eb 100755 --- a/bin/package +++ b/bin/package @@ -100,7 +100,7 @@ build_dir="${work_dir}/stratos-ui" # prebuild ui cd stratos-ui if [[ -n "${stratos_version:-""}" ]]; then - sed -i package.json -e 's/"version": .*/"version": "'"$stratos_version"'"/' + sed -i package.json -e 's/"version": ".*",$/"version": "'"$stratos_version"'",/' fi npm install npm run prebuild-ui