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 ac8a30c commit 068e1e0Copy full SHA for 068e1e0
utils/update_version.js
@@ -47,7 +47,7 @@ if (version === '--next') {
47
const packageJSON = require('../package.json');
48
version = packageJSON.version;
49
const dashIndex = version.indexOf('-');
50
- if (dashIndex === -1)
+ if (dashIndex !== -1)
51
version = version.substring(0, dashIndex);
52
version += '-next.' + Date.now();
53
console.log('Setting version to ' + version);
0 commit comments