diff --git a/scripts/publish-native.js b/scripts/publish-native.js index 587c2dd627..b2709a4dc1 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