Use git has as build number

This commit is contained in:
Layla 2022-10-30 00:06:39 -04:00
parent 423de55daa
commit 454b42c2d7

View File

@ -1,7 +1,7 @@
PROJECTNAME="Bird Bot"
PROJECT_BIN="birdbot"
VERSION="DEV"
BUILD_NUMBER:=$(shell date "+%s%N" | cut -b1-13)
BUILD_NUMBER:=$(shell git rev-parse --short HEAD)
# Go related variables.
GOBASE=$(shell pwd)