chore: use date of commit instead of date of day for version
All checks were successful
Cadoles/bouncer/pipeline/head This commit looks good

This commit is contained in:
2025-08-25 11:12:36 +02:00
parent c1d1a2fe46
commit df53404fba

View File

@ -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