Skip to content

Commit

Permalink
Adjust topic-map step
Browse files Browse the repository at this point in the history
  • Loading branch information
aireilly authored and openshift-cherrypick-robot committed Jun 15, 2023
1 parent 353a816 commit cd28f50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/check-asciidoctor-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ check_updated_assemblies () {
# check that assemblies are in a topic_map
for ASSEMBLY in $ALL_ASSEMBLIES; do
# get the page name to search the topic_map
PAGE=$(basename "$ASSEMBLY" .adoc)
# search for files only, not folders
PAGE="File: $(basename "$ASSEMBLY" .adoc)"
# don't validate the assembly if it is not in a topic map
if grep -rq "$PAGE" --include "*.yml" _topic_maps ; then
# validate the assembly
Expand Down

0 comments on commit cd28f50

Please sign in to comment.