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