mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +00:00 
			
		
		
		
	fix for --get-describe
This commit is contained in:
		
							parent
							
								
									f8d022a180
								
							
						
					
					
						commit
						3bbe5eceeb
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2685,8 +2685,8 @@ def get_full_version_string(major, minor, build, revision):
 | 
			
		|||
    if GIT_HASH:
 | 
			
		||||
        res += " " + GIT_HASH
 | 
			
		||||
    if GIT_DESCRIBE:
 | 
			
		||||
        branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD', '--long'])
 | 
			
		||||
        res += " master " + check_output(['git', 'describe'])
 | 
			
		||||
        branch = check_output(['git', 'rev-parse', '--abbrev-ref', 'HEAD'])
 | 
			
		||||
        res += " " + branch + " " + check_output(['git', 'describe'])
 | 
			
		||||
    return '"' + res + '"'
 | 
			
		||||
 | 
			
		||||
# Update files with the version number
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue