You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							32 lines
						
					
					
						
							949 B
						
					
					
				
			
		
		
	
	
							32 lines
						
					
					
						
							949 B
						
					
					
				import update_metadata from './modules/update-metadata.js'
 | 
						|
import commit from './modules/commit.js'
 | 
						|
import exec from './modules/exec.js'
 | 
						|
 | 
						|
if (update_metadata())
 | 
						|
{
 | 
						|
	commit()
 | 
						|
 | 
						|
	console.log()
 | 
						|
	console.log('========================================')
 | 
						|
	console.log('=           Pushing changes            =')
 | 
						|
	console.log('========================================')
 | 
						|
	console.log()
 | 
						|
 | 
						|
	console.log(exec('git push'))
 | 
						|
 | 
						|
	console.log()
 | 
						|
	console.log('========================================')
 | 
						|
	console.log('=           Pushed. Releasing.         =')
 | 
						|
	console.log('========================================')
 | 
						|
	console.log()
 | 
						|
 | 
						|
	console.log(exec('npm version patch'))
 | 
						|
	console.log(exec('npm publish'))
 | 
						|
	console.log(exec('git push'))
 | 
						|
 | 
						|
	console.log()
 | 
						|
	console.log('========================================')
 | 
						|
	console.log('=                Released              =')
 | 
						|
	console.log('========================================')
 | 
						|
	console.log()
 | 
						|
} |