From a6b588aacaec857f05c04f8e13d73ec29b4d1f70 Mon Sep 17 00:00:00 2001 From: Nikhil Thorat Date: Wed, 14 Aug 2019 15:51:04 -0400 Subject: [PATCH] Fix publish-npm script to work with the new repo. --- tfjs-core/scripts/publish-npm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tfjs-core/scripts/publish-npm.sh b/tfjs-core/scripts/publish-npm.sh index 6dcf60159a2..41ebdbceae4 100755 --- a/tfjs-core/scripts/publish-npm.sh +++ b/tfjs-core/scripts/publish-npm.sh @@ -35,8 +35,8 @@ if [ "$BRANCH" != "master" ]; then exit fi -if ! [[ "$ORIGIN" =~ tensorflow/tfjs-core ]]; then - echo "Error: Switch to the main repo (tensorflow/tfjs-core) before publishing." +if ! [[ "$ORIGIN" =~ tensorflow/tfjs ]]; then + echo "Error: Switch to the main repo (tensorflow/tfjs) before publishing." exit fi