Merge branch 'hotfix/v4.3.1'
This commit is contained in:
commit
3e86381bb8
16
Makefile
16
Makefile
@ -5,20 +5,12 @@ REPO_URL := "deb http://repo-doc-onlyoffice-com.s3.amazonaws.com/ubuntu/trusty/$
|
|||||||
UPDATE_LATEST := false
|
UPDATE_LATEST := false
|
||||||
|
|
||||||
ifneq (,$(findstring develop,$(GIT_BRANCH)))
|
ifneq (,$(findstring develop,$(GIT_BRANCH)))
|
||||||
UPDATE_LATEST := true
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(findstring release,$(GIT_BRANCH)))
|
|
||||||
UPDATE_LATEST := true
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifneq (,$(findstring hotfix,$(GIT_BRANCH)))
|
|
||||||
UPDATE_LATEST := true
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(UPDATE_LATEST), true)
|
|
||||||
DOCKER_TAGS += $(subst -,.,$(PACKAGE_VERSION))
|
DOCKER_TAGS += $(subst -,.,$(PACKAGE_VERSION))
|
||||||
DOCKER_TAGS += latest
|
DOCKER_TAGS += latest
|
||||||
|
else ifneq (,$(findstring release,$(GIT_BRANCH)))
|
||||||
|
DOCKER_TAGS += $(subst -,.,$(PACKAGE_VERSION))
|
||||||
|
else ifneq (,$(findstring hotfix,$(GIT_BRANCH)))
|
||||||
|
DOCKER_TAGS += $(subst -,.,$(PACKAGE_VERSION))
|
||||||
else
|
else
|
||||||
DOCKER_TAGS += $(subst -,.,$(PACKAGE_VERSION))-$(subst /,-,$(GIT_BRANCH))
|
DOCKER_TAGS += $(subst -,.,$(PACKAGE_VERSION))-$(subst /,-,$(GIT_BRANCH))
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user