From ae07f7b77a58228ed293b29f2339d3e263a617fc Mon Sep 17 00:00:00 2001 From: Maia Teegarden Date: Thu, 12 Aug 2021 09:16:59 -0700 Subject: [PATCH] Fix publish native script --- scripts/publish-native.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-native.js b/scripts/publish-native.js index 587c2dd6272a..b2709a4dc1c3 100755 --- a/scripts/publish-native.js +++ b/scripts/publish-native.js @@ -37,7 +37,7 @@ const cwd = process.cwd() ) execSync( `npm publish ${path.join(nativePackagesDir, nativePackage)}${ - gitref.contains('canary') ? ' --tag canary' : '' + gitref.includes('canary') ? ' --tag canary' : '' }` ) // lerna publish in next step will fail if git status is not clean