tools: more PATCHLEVEL/git-describe fixes
This commit is contained in:
		
							parent
							
								
									2ec55117c0
								
							
						
					
					
						commit
						e1f5023e30
					
				
							
								
								
									
										4
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								Makefile
									
									
									
									
									
								
							| @ -148,7 +148,9 @@ VERSIONFILE=.version | ||||
| VERSION:=$(shell cat $(VERSIONFILE)) | ||||
| 
 | ||||
| # the number of commits since the last tag
 | ||||
| PATCHLEVEL:=$(shell git describe --tags | awk -F - '{print $$2}') | ||||
| #DESCRIBE:=$(shell git describe --tags --match 'hledger-[0-9]*' --dirty )
 | ||||
| PATCHLEVEL:=$(shell git describe --tags --match 'hledger-[0-9]*' --long | awk -F- '{print $$3}') | ||||
| #PATCHLEVEL:=$(shell git describe --tags --match 'hledger-web-[0-9]*' --long | awk -F- '{print $$4}')
 | ||||
| # the number of commits since the last_release tag
 | ||||
| #PATCHLEVEL:=$(shell git rev-list last_release..HEAD | wc -l)
 | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user