mirror of
				https://github.com/therootcompany/greenlock-express.js.git
				synced 2024-11-16 17:28:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			397 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			397 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash
 | |
| 
 | |
| set -e
 | |
| set -u
 | |
| 
 | |
| git fetch --all
 | |
| git checkout master
 | |
| git pull origin master
 | |
| 
 | |
| git checkout npm
 | |
| git checkout master -- package.json
 | |
| git checkout master -- README.md
 | |
| sed -i '' -e 's|"name": ".root.greenlock"|"name": "greenlock"|' package.json
 | |
| npm install --save @root/greenlock-express@latest
 | |
| git add package* README.md || true
 | |
| git commit -m "bump" || true
 | |
| npm publish ./
 | |
| git reset --hard
 |