mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	rename variable in get-version script
Yeah... that looks better. Thanks @mikeller. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									7b59749bcb
								
							
						
					
					
						commit
						aea2f36de2
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -43,8 +43,8 @@ if [ ! -f latest-subsurface-buildnumber ] ; then
 | 
			
		|||
	fi
 | 
			
		||||
	cd nightly-builds
 | 
			
		||||
	git fetch &> /dev/null
 | 
			
		||||
	LAST_BUILD_BRANCHS=$(git branch -a --sort=-committerdate --list | grep remotes/origin/branch-for | head -50 | cut -d/ -f3)
 | 
			
		||||
	for LAST_BUILD_BRANCH in $LAST_BUILD_BRANCHS "not-found" ; do
 | 
			
		||||
	LAST_BUILD_BRANCHES=$(git branch -a --sort=-committerdate --list | grep remotes/origin/branch-for | head -50 | cut -d/ -f3)
 | 
			
		||||
	for LAST_BUILD_BRANCH in $LAST_BUILD_BRANCHES "not-found" ; do
 | 
			
		||||
		LAST_BUILD_SHA=$(cut -d- -f 3 <<< "$LAST_BUILD_BRANCH")
 | 
			
		||||
		git -C "$SUBSURFACE_SOURCE" merge-base --is-ancestor "$LAST_BUILD_SHA" HEAD && break
 | 
			
		||||
	done
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue