diff --git a/scripts/bump_version.sh b/scripts/bump_version.sh index 1a95050d4..2d34415b9 100755 --- a/scripts/bump_version.sh +++ b/scripts/bump_version.sh @@ -15,7 +15,7 @@ read NEW_VERSION # If NEW_VERSION is not empty, replace the version in package.json if [ -n "$NEW_VERSION" ]; then - sed -i '' "s/ \"version\": \"$VERSION\"/ \"version\": \"$NEW_VERSION\"/" package.json + sed -i "s/ \"version\": \"$VERSION\"/ \"version\": \"$NEW_VERSION\"/" package.json echo "Version bumped to $NEW_VERSION" npm i fi