Skip to content

Commit 1755f4f

Browse files
committedSep 10, 2024·
update tag for publishing
1 parent caef001 commit 1755f4f

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed
 

‎scripts/publish-native.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ const cwd = process.cwd()
4949
`${path.join(nativePackagesDir, platform)}`,
5050
`--access`,
5151
`public`,
52-
...(version.includes('canary') ? ['--tag', 'canary'] : []),
52+
...(version.includes('canary')
53+
? ['--tag', 'canary']
54+
: ['--tag', 'next-13']),
5355
],
5456
{ stdio: 'inherit' }
5557
)

‎scripts/publish-release.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const cwd = process.cwd()
3030
}
3131
throw err
3232
}
33-
console.log(`Publishing ${isCanary ? 'canary' : 'stable'}`)
33+
console.log(`Publishing ${isCanary ? 'canary' : 'next-13'}`)
3434

3535
if (!process.env.NPM_TOKEN) {
3636
console.log('No NPM_TOKEN, exiting...')
@@ -52,7 +52,7 @@ const cwd = process.cwd()
5252
'--access',
5353
'public',
5454
'--ignore-scripts',
55-
...(isCanary ? ['--tag', 'canary'] : []),
55+
...(isCanary ? ['--tag', 'canary'] : ['--tag', 'next-13']),
5656
],
5757
{ stdio: 'inherit' }
5858
)

0 commit comments

Comments
 (0)
Please sign in to comment.