mirror of
				https://github.com/lingble/chatwoot.git
				synced 2025-11-03 20:48:07 +00:00 
			
		
		
		
	- feature to store contact IP for accounts - IP lookup through geocoder gem - ability to do IP lookup through external APIs - add commit hook to prevent push to develop and master - migrations to fix default values for jsonb columns
		
			
				
	
	
		
			14 lines
		
	
	
		
			309 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			309 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# script prevents pushing to develop and master by mistake
 | 
						|
 | 
						|
branch="$(git rev-parse --abbrev-ref HEAD)"
 | 
						|
 | 
						|
if [ "$branch" = "master" ]; then
 | 
						|
  echo "You can't push directly to master branch"
 | 
						|
  exit 1
 | 
						|
elif [ "$branch" = "develop" ]; then
 | 
						|
  echo "You can't push directly to develop branch"
 | 
						|
  exit 1
 | 
						|
fi
 |