We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da94936 commit 13c87dcCopy full SHA for 13c87dc
tools/scripts/npm_publish
@@ -258,7 +258,7 @@ update_markdown_package_urls() {
258
# Updates the version in the root package.json.
259
update_version() {
260
echo 'Updating project version...' >&2
261
- sed -i "s/${current_version}/${release_version}/" "${package_json}"
+ sed -i '' "s/${current_version}/${release_version}/" "${package_json}"
262
if [[ "$?" -ne 0 ]]; then
263
echo '' >&2
264
echo 'Error: unexpected error. Encountered an error when updating project version.' >&2
0 commit comments