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
Cadoles/mktools/pipeline/head This commit looks good
Details
This commit is contained in:
parent
15b8fc8a0a
commit
6fb016ed92
|
@ -18,7 +18,7 @@ else ifneq ($(filter $(MKT_PROJECT_VERSION_CHANNEL),testing staging),)
|
||||||
else ifneq ($(filter $(MKT_PROJECT_VERSION_CHANNEL),stable master),)
|
else ifneq ($(filter $(MKT_PROJECT_VERSION_CHANNEL),stable master),)
|
||||||
MKT_PROJECT_SHORT_VERSION_CHANNEL ?= stb
|
MKT_PROJECT_SHORT_VERSION_CHANNEL ?= stb
|
||||||
else
|
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
|
endif
|
||||||
|
|
||||||
MKT_PROJECT_VERSION_COMMIT_TIMESTAMP ?= $(shell git show -s --format=%ct)
|
MKT_PROJECT_VERSION_COMMIT_TIMESTAMP ?= $(shell git show -s --format=%ct)
|
||||||
|
|
Loading…
Reference in New Issue