HBASE-26995 Remove ref guide check in pre commit and nightly for branches other than master (#4399)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit 9a41117ca5
)
This commit is contained in:
parent
5c15ac63de
commit
c6b240bd91
|
@ -347,11 +347,14 @@ function refguide_filefilter
|
||||||
{
|
{
|
||||||
local filename=$1
|
local filename=$1
|
||||||
|
|
||||||
|
# we only generate ref guide on master branch now
|
||||||
|
if [[ "${PATCH_BRANCH}" = master ]]; then
|
||||||
if [[ ${filename} =~ src/main/asciidoc ]] ||
|
if [[ ${filename} =~ src/main/asciidoc ]] ||
|
||||||
[[ ${filename} =~ src/main/xslt ]] ||
|
[[ ${filename} =~ src/main/xslt ]] ||
|
||||||
[[ ${filename} =~ hbase-common/src/main/resources/hbase-default.xml ]]; then
|
[[ ${filename} =~ hbase-common/src/main/resources/hbase-default\.xml ]]; then
|
||||||
add_test refguide
|
add_test refguide
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
function refguide_rebuild
|
function refguide_rebuild
|
||||||
|
|
Loading…
Reference in New Issue