Commit 1755f4ff authored by JJ Kasper's avatar JJ Kasper

update tag for publishing

parent caef0018
...@@ -49,7 +49,9 @@ const cwd = process.cwd() ...@@ -49,7 +49,9 @@ const cwd = process.cwd()
`${path.join(nativePackagesDir, platform)}`, `${path.join(nativePackagesDir, platform)}`,
`--access`, `--access`,
`public`, `public`,
...(version.includes('canary') ? ['--tag', 'canary'] : []), ...(version.includes('canary')
? ['--tag', 'canary']
: ['--tag', 'next-13']),
], ],
{ stdio: 'inherit' } { stdio: 'inherit' }
) )
......
...@@ -30,7 +30,7 @@ const cwd = process.cwd() ...@@ -30,7 +30,7 @@ const cwd = process.cwd()
} }
throw err throw err
} }
console.log(`Publishing ${isCanary ? 'canary' : 'stable'}`) console.log(`Publishing ${isCanary ? 'canary' : 'next-13'}`)
if (!process.env.NPM_TOKEN) { if (!process.env.NPM_TOKEN) {
console.log('No NPM_TOKEN, exiting...') console.log('No NPM_TOKEN, exiting...')
...@@ -52,7 +52,7 @@ const cwd = process.cwd() ...@@ -52,7 +52,7 @@ const cwd = process.cwd()
'--access', '--access',
'public', 'public',
'--ignore-scripts', '--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : []), ...(isCanary ? ['--tag', 'canary'] : ['--tag', 'next-13']),
], ],
{ stdio: 'inherit' } { stdio: 'inherit' }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment