feat(version): use branch name for short version channel if branch is not a common one
Cadoles/mktools/pipeline/head This commit looks good Details

This commit is contained in:
wpetit 2024-02-23 12:31:01 +01:00
parent 15b8fc8a0a
commit 6fb016ed92
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ else ifneq ($(filter $(MKT_PROJECT_VERSION_CHANNEL),testing staging),)
else ifneq ($(filter $(MKT_PROJECT_VERSION_CHANNEL),stable master),)
MKT_PROJECT_SHORT_VERSION_CHANNEL ?= stb
else
MKT_PROJECT_SHORT_VERSION_CHANNEL ?= $(shell echo "$(MKT_PROJECT_VERSION_CHANNEL)" | sed -e 's/[aeiouy]//g' | cut -c1-3)
MKT_PROJECT_SHORT_VERSION_CHANNEL ?= $(MKT_PROJECT_VERSION_CHANNEL)
endif
MKT_PROJECT_VERSION_COMMIT_TIMESTAMP ?= $(shell git show -s --format=%ct)