Fix publish native script (#28037)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Maia Teegarden 2021-08-12 09:46:39 -07:00 committed by GitHub
parent 69d6001c59
commit f0678979f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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