Skip to content

Commit

Permalink
fix: πŸ› removed gsed in benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimck committed Mar 14, 2022
1 parent c3d6ce1 commit db5862f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/benchmark/benchmark.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ npm config set "//$NPM_LOCAL_REGISTRY_URL_NO_PROTOCOL/:_authToken" "0"
for PACKAGE in $PACKAGES ; do
cd "$ROOT_DIR/packages/$PACKAGE"
echo "Working on $PACKAGE@$PACKAGE_VERSION"
gsed -i "s#\"version\":\s\".*\"#\"version\": \"$PACKAGE_VERSION\"#" package.json
sed -i "s#\"version\":\s\".*\"#\"version\": \"$PACKAGE_VERSION\"#" package.json

for PACKAGE_UPDATE in $PACKAGES ; do
gsed -i "s#\"@ima/$PACKAGE_UPDATE\":\s\".*\"#\"@ima/$PACKAGE_UPDATE\": \"$PACKAGE_VERSION\"#" package.json
sed -i "s#\"@ima/$PACKAGE_UPDATE\":\s\".*\"#\"@ima/$PACKAGE_UPDATE\": \"$PACKAGE_VERSION\"#" package.json
done

gsed -i "s#https://registry.npmjs.org/#${NPM_LOCAL_REGISTRY_URL}#" package.json
sed -i "s#https://registry.npmjs.org/#${NPM_LOCAL_REGISTRY_URL}#" package.json
npm publish
done

Expand Down

0 comments on commit db5862f

Please sign in to comment.