From 09a1f33f975e49f92bfa708e3d3d03984863a28d Mon Sep 17 00:00:00 2001 From: Mitchell Valine Date: Fri, 15 May 2020 15:17:19 -0700 Subject: [PATCH] chore: fix compatibility check for bump PRs Adds `DOWNLOAD_LATEST=true` when running compatibility check in build.sh. This prevents the script from attempting to download versions of the modules that have not been published. Long term fix will have to distinguish whether the current version in lerna.json has been published, and if not download latest instead. --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index b58fa80e1c563..44c020454216a 100755 --- a/build.sh +++ b/build.sh @@ -60,6 +60,6 @@ echo "========================================================================== echo "building..." time lerna run $bail --stream $runtarget || fail -/bin/bash scripts/check-api-compatibility.sh +DOWNLOAD_LATEST=true /bin/bash scripts/check-api-compatibility.sh touch $BUILD_INDICATOR