mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-05 14:37:45 +00:00
chore(make): use a timestamp suffix to the default version (#6559)
When doing local builds, the `VERSION` was always set to `development`. When running this local build, database migration would be skipped, as the version did not change. This change suffixes `developement` with the dynamic timestamp from `now`, so that migrations are always executed when developing.
This commit is contained in:
parent
5c6a3e968a
commit
b7d8dc2d72
2
Makefile
2
Makefile
@ -3,7 +3,7 @@ gen_authopt_path := "$(go_bin)/protoc-gen-authoption"
|
||||
gen_zitadel_path := "$(go_bin)/protoc-gen-zitadel"
|
||||
|
||||
now := $(shell date --rfc-3339=seconds | sed 's/ /T/')
|
||||
VERSION ?= development
|
||||
VERSION ?= development-$(now)
|
||||
COMMIT_SHA ?= $(shell git rev-parse HEAD)
|
||||
|
||||
.PHONY: compile
|
||||
|
Loading…
x
Reference in New Issue
Block a user