From f0678979f1821c5830212124e525672f128b1e12 Mon Sep 17 00:00:00 2001 From: Maia Teegarden Date: Thu, 12 Aug 2021 09:46:39 -0700 Subject: [PATCH] Fix publish native script (#28037) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- 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 587c2dd6272a243..b2709a4dc1c3c10 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