Skip to content

Commit 9d7ce74

Browse files
committed
modify scripts
1 parent 597aa44 commit 9d7ce74

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

scripts/publish-native.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,7 @@ const cwd = process.cwd()
4949
`${path.join(nativePackagesDir, platform)}`,
5050
`--access`,
5151
`public`,
52-
...(version.includes('canary')
53-
? ['--tag', 'canary']
54-
: ['--tag', '14-2-1']),
52+
...(version.includes('canary') ? ['--tag', 'canary'] : []),
5553
],
5654
{ stdio: 'inherit' }
5755
)

scripts/publish-release.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const cwd = process.cwd()
5353
'--access',
5454
'public',
5555
'--ignore-scripts',
56-
...(isCanary ? ['--tag', 'canary'] : ['--tag', '14-2-1']),
56+
...(isCanary ? ['--tag', 'canary'] : []),
5757
],
5858
{ stdio: 'pipe' }
5959
)

0 commit comments

Comments
 (0)