Skip to content

Commit 2fd7f4e

Browse files
committed
devops: fix update_version.js script
1 parent 2d57fff commit 2fd7f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/update_version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (process.argv.length !== 3) {
4545
let version = process.argv[2];
4646
if (version === '--next') {
4747
const packageJSON = require('../package.json');
48-
version = package.version;
48+
version = packageJSON.version;
4949
const dashIndex = version.indexOf('-');
5050
if (dashIndex === -1)
5151
version = version.substring(0, dashIndex);

0 commit comments

Comments
 (0)