Skip to content
Permalink
Browse files
HBASE-26995 Remove ref guide check in pre commit and nightly for bran…
…ches other than master (#4399)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Peter Somogyi <psomogyi@apache.org>
(cherry picked from commit 9a41117)
  • Loading branch information
Apache9 committed May 5, 2022
1 parent 5cb0ecf commit 9e03253447e4c40da30efd786887cb39cbf33233
Showing 1 changed file with 7 additions and 4 deletions.
@@ -393,10 +393,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
}

0 comments on commit 9e03253

Please sign in to comment.