Fix git merge during schedule update
This commit is contained in:
		
							parent
							
								
									3c79fa50b5
								
							
						
					
					
						commit
						d8019a11eb
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -2,6 +2,7 @@ | |||
| 
 | ||||
| set -e | ||||
| set -u | ||||
| set -x | ||||
| 
 | ||||
| PRODUCTION_BRANCH="${PRODUCTION_BRANCH:-master}" | ||||
| 
 | ||||
|  | @ -23,7 +24,7 @@ fi | |||
| IFS=/ read git_remote git_refspec <<EOF | ||||
| $git_upstream | ||||
| EOF | ||||
| git fetch --quiet --no-tags "$git_remote" "$git_refspec" | ||||
| git fetch --quiet --no-tags "${git_remote}/${git_refspec}" | ||||
| if [ "$(git rev-parse "$PRODUCTION_BRANCH")" = "$(git rev-parse "$git_upstream")" ]; then | ||||
|     exit 0 | ||||
| fi | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue