mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-03 18:55:08 +03:00 
			
		
		
		
	Handle pull request branch
This commit is contained in:
		
							parent
							
								
									41a2e731eb
								
							
						
					
					
						commit
						b88a623a9f
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -9,7 +9,11 @@ then
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Get the rest of the repository history
 | 
					# Get the rest of the repository history
 | 
				
			||||||
if [ "${APPVEYOR_REPO_BRANCH}" != "" ];
 | 
					if [ "${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}" != "" ];
 | 
				
			||||||
 | 
					then
 | 
				
			||||||
 | 
					  git fetch --all
 | 
				
			||||||
 | 
					  git checkout ${APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH}
 | 
				
			||||||
 | 
					elif [ "${APPVEYOR_REPO_BRANCH}" != "" ];
 | 
				
			||||||
then
 | 
					then
 | 
				
			||||||
  git fetch --all
 | 
					  git fetch --all
 | 
				
			||||||
  git checkout ${APPVEYOR_REPO_BRANCH}
 | 
					  git checkout ${APPVEYOR_REPO_BRANCH}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue