Skip to content

Commit

Permalink
modify scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ztanner committed Apr 12, 2024
1 parent 597aa44 commit 9d7ce74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions scripts/publish-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ const cwd = process.cwd()
`${path.join(nativePackagesDir, platform)}`,
`--access`,
`public`,
...(version.includes('canary')
? ['--tag', 'canary']
: ['--tag', '14-2-1']),
...(version.includes('canary') ? ['--tag', 'canary'] : []),
],
{ stdio: 'inherit' }
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const cwd = process.cwd()
'--access',
'public',
'--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : ['--tag', '14-2-1']),
...(isCanary ? ['--tag', 'canary'] : []),
],
{ stdio: 'pipe' }
)
Expand Down

0 comments on commit 9d7ce74

Please sign in to comment.