mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Travis: make sure git describe can work
Travis only fetches the last 50 commits - which means that git describe will usually fail and our version numbers would end up being wrong. So let's fetch the whole repo and the tags as well to make sure that git describe works as expected by our tools. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									07b773ff58
								
							
						
					
					
						commit
						db64ec0af0
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -8,6 +8,12 @@ | |||
| 
 | ||||
| set -x | ||||
| 
 | ||||
| # Travis only pulls shallow repos. But that messes with git describe. | ||||
| # Sorry Travis, fetching the whole thing and the tags as well... | ||||
| git fetch --unshallow | ||||
| git pull --tags | ||||
| git describe | ||||
| 
 | ||||
| export QT_ROOT=$PWD/Qt/5.9.3 | ||||
| rm -rf Qt | ||||
| mkdir -p $QT_ROOT | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue