mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 06:02:57 +03:00
chore: fix publishing @next from release branch (#4418)
This commit is contained in:
parent
8f7286175e
commit
2bfee8dc0a
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user