From df53404fbabb8c937e099f3f652ed80f3718e1b6 Mon Sep 17 00:00:00 2001 From: William Petit Date: Mon, 25 Aug 2025 11:12:36 +0200 Subject: [PATCH] chore: use date of commit instead of date of day for version --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index da77654..6a54ada 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ SHELL := /bin/bash BOUNCER_VERSION ?= GIT_COMMIT := $(shell git rev-parse --short HEAD) -DATE_VERSION := $(shell date +%Y.%-m.%-d) +DATE_VERSION := $(shell git show -s --format=%cd --date=format:'%Y-%-m-%d' $(GIT_COMMIT)) FULL_VERSION := v$(DATE_VERSION)-$(GIT_COMMIT)$(if $(shell git diff --stat),-dirty,) DOCKER_IMAGE_NAME ?= reg.cadoles.com/cadoles/bouncer