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

update tag for publishing

parent caef0018
......@@ -49,7 +49,9 @@ const cwd = process.cwd()
`${path.join(nativePackagesDir, platform)}`,
`--access`,
`public`,
...(version.includes('canary') ? ['--tag', 'canary'] : []),
...(version.includes('canary')
? ['--tag', 'canary']
: ['--tag', 'next-13']),
],
{ stdio: 'inherit' }
)
......
......@@ -30,7 +30,7 @@ const cwd = process.cwd()
}
throw err
}
console.log(`Publishing ${isCanary ? 'canary' : 'stable'}`)
console.log(`Publishing ${isCanary ? 'canary' : 'next-13'}`)
if (!process.env.NPM_TOKEN) {
console.log('No NPM_TOKEN, exiting...')
......@@ -52,7 +52,7 @@ const cwd = process.cwd()
'--access',
'public',
'--ignore-scripts',
...(isCanary ? ['--tag', 'canary'] : []),
...(isCanary ? ['--tag', 'canary'] : ['--tag', 'next-13']),
],
{ 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