Skip to content

Commit 7de2651

Browse files
committed
chore: publish release using yarn
1 parent 8e4ba96 commit 7de2651

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/release.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const versionIncrements = [
1616
'prerelease'
1717
]
1818

19-
const inc = (i) => semver.inc(currentVersion, i, 'beta')
19+
const inc = (i) => semver.inc(currentVersion, i, 'draft')
2020
const bin = (name) => path.resolve(__dirname, `../node_modules/.bin/${name}`)
2121
const run = (bin, args, opts = {}) => execa(bin, args, { stdio: 'inherit', ...opts })
2222
const step = (msg) => console.log(chalk.cyan(msg))
@@ -81,7 +81,7 @@ async function main() {
8181

8282
// Publish the package.
8383
step('\nPublishing the package...')
84-
await run('npm', ['publish'])
84+
await run('yarn', ['publish'])
8585

8686
// Push to GitHub.
8787
step('\nPushing to GitHub...')

0 commit comments

Comments
 (0)