Skip to content

Commit

Permalink
use latest tag for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Mar 2, 2024
1 parent 5f59ee5 commit 1ad6548
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 @@ -48,9 +48,7 @@ const cwd = process.cwd()
`${path.join(nativePackagesDir, platform)}`,
`--access`,
`public`,
...(version.includes('canary')
? ['--tag', 'canary']
: ['--tag', 'next-14-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 @@ -52,7 +52,7 @@ const cwd = process.cwd()
'--access',
'public',
'--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : ['--tag', 'next-14-1']),
...(isCanary ? ['--tag', 'canary'] : []),
],
{ stdio: 'inherit' }
)
Expand Down

0 comments on commit 1ad6548

Please sign in to comment.