docs: update the latest-release docs to 1.10
With the v1.10.0 release out, the latest-release docs need
to point to the 1.10 release. With each release we will
update to the next release branch when we have shipped.
Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
(cherry picked from commit c4304e4b92)
This commit is contained in:
1 parent
e1495985fd
commit
af41e4b32c
1 file changed
+2
-1
@@ -20,6 +20,7 @@ include ../makelib/helm.mk
|
||||
# ====================================================================================
|
||||
# Options
|
||||
|
||||
LATEST_DOCS_BRANCH=release-1.10
|
||||
CHANNEL ?= master
|
||||
ifeq ($(filter master release,$(CHANNEL)),)
|
||||
$(error invalid channel $(CHANNEL))
|
||||
@@ -39,7 +40,7 @@ else
|
||||
DOCS_VERSION := $(shell echo $(BRANCH_NAME) | sed -E "s/^release\-([0-9]+)\.([0-9]+)$$/v\1.\2/g")
|
||||
endif
|
||||
|
||||
ifeq ($(shell echo $(BRANCH_NAME)),$(shell git branch -r | grep 'origin/release-' | sort | tail -n 1 | cut -d'/' -f2))
|
||||
ifeq ($(shell echo $(BRANCH_NAME)),$(LATEST_DOCS_BRANCH))
|
||||
DOCS_VERSION_ALIAS := latest-release
|
||||
else
|
||||
DOCS_VERSION_ALIAS :=
|
||||
|
||||
Reference in new issue
Block a user