From 2fd7f4e111e79786e1250b81f1a68826d4d6e4d4 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Wed, 8 Apr 2020 16:25:32 -0700 Subject: [PATCH] devops: fix update_version.js script --- utils/update_version.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/update_version.js b/utils/update_version.js index 7e009251da892..a0838672e3e7e 100755 --- a/utils/update_version.js +++ b/utils/update_version.js @@ -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);