We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d57fff commit 2fd7f4eCopy full SHA for 2fd7f4e
utils/update_version.js
@@ -45,7 +45,7 @@ if (process.argv.length !== 3) {
45
let version = process.argv[2];
46
if (version === '--next') {
47
const packageJSON = require('../package.json');
48
- version = package.version;
+ version = packageJSON.version;
49
const dashIndex = version.indexOf('-');
50
if (dashIndex === -1)
51
version = version.substring(0, dashIndex);
0 commit comments