From 571a94adcc2d03658f7bb9b3aed7a5675e7ae4f7 Mon Sep 17 00:00:00 2001 From: Lukasz Gornicki Date: Wed, 26 Jun 2024 14:56:41 +0200 Subject: [PATCH] fix: update web-component bumping script for react (#1021) --- web-component/bump-react-comp.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-component/bump-react-comp.sh b/web-component/bump-react-comp.sh index 91f28f81d..d7b405323 100755 --- a/web-component/bump-react-comp.sh +++ b/web-component/bump-react-comp.sh @@ -9,5 +9,7 @@ echo "Log all versions of the package on npm registry" npm show @asyncapi/react-component versions echo "Log latest version of the package on npm registry" npm show @asyncapi/react-component dist-tags.latest -echo "Starting installation" +echo "We need to uninstall old version first to make sure package.json will get updated latest version number" +npm uninstall @asyncapi/react-component +echo "Starting installation of @asyncapi/react-component@$VERSION in $PWD" npm install @asyncapi/react-component@$VERSION --save --loglevel verbose \ No newline at end of file