Skip to content

Commit

Permalink
HSEARCH-4843 Exclude asciidoc from -orm6 artifact patches
Browse files Browse the repository at this point in the history
  • Loading branch information
yrodiere committed May 1, 2023
1 parent 0ac0d27 commit 57badba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orm6/extract-patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ shift
for subdir in $(cd orm6; grep -R --include pom.xml -L '<packaging>pom</packaging>' | xargs dirname)
do
patchPath="orm6/$subdir/ant-src-changes.patch"
git diff -p "$REV_RANGE" --relative="$subdir/src" -- > "$patchPath"
git diff -p "$REV_RANGE" --relative="$subdir/src" -- "$subdir/src" ":^$subdir/src/main/asciidoc" > "$patchPath"
if ! [ -s "$patchPath" ]
then
rm "$patchPath"
Expand Down

0 comments on commit 57badba

Please sign in to comment.