Use git has as build number
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							@ -1,7 +1,7 @@
 | 
				
			|||||||
PROJECTNAME="Bird Bot"
 | 
					PROJECTNAME="Bird Bot"
 | 
				
			||||||
PROJECT_BIN="birdbot"
 | 
					PROJECT_BIN="birdbot"
 | 
				
			||||||
VERSION="DEV"
 | 
					VERSION="DEV"
 | 
				
			||||||
BUILD_NUMBER:=$(shell date "+%s%N" | cut -b1-13)
 | 
					BUILD_NUMBER:=$(shell git rev-parse --short HEAD)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Go related variables.
 | 
					# Go related variables.
 | 
				
			||||||
GOBASE=$(shell pwd)
 | 
					GOBASE=$(shell pwd)
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user