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,10 +347,13 @@ function refguide_filefilter
|
||||||
{
|
{
|
||||||
local filename=$1
|
local filename=$1
|
||||||
|
|
||||||
if [[ ${filename} =~ src/main/asciidoc ]] ||
|
# we only generate ref guide on master branch now
|
||||||
[[ ${filename} =~ src/main/xslt ]] ||
|
if [[ "${PATCH_BRANCH}" = master ]]; then
|
||||||
[[ ${filename} =~ hbase-common/src/main/resources/hbase-default.xml ]]; then
|
if [[ ${filename} =~ src/main/asciidoc ]] ||
|
||||||
add_test refguide
|
[[ ${filename} =~ src/main/xslt ]] ||
|
||||||
|
[[ ${filename} =~ hbase-common/src/main/resources/hbase-default\.xml ]]; then
|
||||||
|
add_test refguide
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue