Skip to content

Commit

Permalink
devops: fix update_version.js script
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Apr 8, 2020
1 parent 2d57fff commit 2fd7f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/update_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (process.argv.length !== 3) {
let version = process.argv[2];
if (version === '--next') {
const packageJSON = require('../package.json');
version = package.version;
version = packageJSON.version;
const dashIndex = version.indexOf('-');
if (dashIndex === -1)
version = version.substring(0, dashIndex);
Expand Down

0 comments on commit 2fd7f4e

Please sign in to comment.