Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #410 from jhellar/fix-validation
Browse files Browse the repository at this point in the history
fix: version validation
  • Loading branch information
jhellar authored Jul 22, 2019
2 parents eb5b86d + 5d6bed3 commit 04bb8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/validateRelease.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fi

# validate that all packages have the same version found in lerna.json
for package in $PACKAGES; do
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-)
if [[ $version =~ $PACKAGE_VERSION ]]; then
echo "package $package has version $version"
else
Expand Down

0 comments on commit 04bb8d5

Please sign in to comment.