mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user