Skip to content

Commit 8e75765

Browse files
committed
fix unlock in publish-native
1 parent 6cef992 commit 8e75765

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/publish-native.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const cwd = process.cwd()
1111
try {
1212
const publishSema = new Sema(2)
1313

14-
let version = '15.5.7'
14+
let version = require('@next/swc/package.json').version
1515

1616
// Copy binaries to package folders, update version, and publish
1717
let nativePackagesDir = path.join(cwd, 'crates/napi/npm')
@@ -79,7 +79,7 @@ const cwd = process.cwd()
7979
})
8080
)
8181

82-
// // Update name/version of wasm packages and publish
82+
// Update name/version of wasm packages and publish
8383
const pkgDirectory = 'crates/wasm'
8484
let wasmDir = path.join(cwd, pkgDirectory)
8585
await Promise.all(

0 commit comments

Comments
 (0)