We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 780b179 commit 4d3b245Copy full SHA for 4d3b245
scripts/validateRelease.sh
@@ -24,7 +24,7 @@ fi
24
25
# validate that all packages have the same version found in lerna.json
26
for package in $PACKAGES; do
27
- version=$(lerna --loglevel=silent ls -l | grep $package | awk -F ' ' '{print $2}' | awk -F 'v' '{print $2}')
+ version=$(lerna --loglevel=silent ls -l | grep $package | awk -F ' ' '{print $2}' | cut -c2-)
28
if [[ $version =~ $PACKAGE_VERSION ]]; then
29
echo "package $package has version $version"
30
else
0 commit comments