File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 3
3
# The list includes any topic maps that are themselves modified, and indirectly modifed topic maps where incldued AsciiDoc files have been updated.
4
4
5
5
# Get the *.adoc and distro maps files in the pull request
6
- FILES=$( git diff --name-only HEAD@{1} --diff-filter=d " *.yml" " *.adoc" ' :(exclude)_unused_topics/*' )
6
+ FILES=$( git diff --name-only HEAD@{1} --diff-filter=AMRD " *.yml" " *.adoc" ' :(exclude)_unused_topics/*' )
7
7
8
8
REPO_PATH=$( git rev-parse --show-toplevel)
9
9
17
17
# $UPDATED_ASSEMBLIES is the list of assemblies that contains changed modules
18
18
UPDATED_ASSEMBLIES=$( grep -rnwl " $REPO_PATH " --include=\* .adoc --exclude-dir={snippets,modules} -e " $MODULES " )
19
19
20
- # Exit 0 if there are no modified assemblies
21
- if [[ -z " ${UPDATED_ASSEMBLIES} " ]]
22
- then
23
- exit 0
24
- fi
25
20
# Subtract $REPO_PATH from path with bash substring replacement
26
21
UPDATED_ASSEMBLIES=${UPDATED_ASSEMBLIES// " $REPO_PATH /" / }
27
22
fi
You can’t perform that action at this time.
0 commit comments