diff --git a/utils/update_version.js b/utils/update_version.js index cfc74724e8c83..6b8b8b1a0e1be 100755 --- a/utils/update_version.js +++ b/utils/update_version.js @@ -46,6 +46,8 @@ let version = process.argv[2]; if (version === '--next') { const packageJSON = require('../package.json'); version = packageJSON.version; + if (!version.includes('-')) + version += '-next'; version += '.' + Date.now(); console.log('Setting version to ' + version); } else {