From 454b42c2d7ccc24f661a7426e1996d26ba2d8486 Mon Sep 17 00:00:00 2001 From: Layla Manley Date: Sun, 30 Oct 2022 00:06:39 -0400 Subject: [PATCH] Use git has as build number --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 37550b9..5676e10 100644 --- a/Makefile +++ b/Makefile @@ -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)