Skip to content

Commit

Permalink
chore: fix publishing @next from release branch (#4418)
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Nov 12, 2020
1 parent 1e137dd commit 1230866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/update_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 1230866

Please sign in to comment.