Skip to content

Commit 824dd54

Browse files
committed
skip imported samples directory
1 parent d8b046e commit 824dd54

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

generation/check_non_release_please_versions.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ for pomFile in $(find . -mindepth 2 -name pom.xml | sort ); do
2020
continue
2121
fi
2222

23+
if [[ "${pomFile}" =~ .*/samples/.* ]]; then
24+
echo "Skipping version check for samples directory"
25+
continue
26+
fi
27+
2328
if grep -n '<version>.*</version>' "$pomFile" | grep -v 'x-version-update'; then
2429
echo "Found version declaration(s) without x-version-update in: $pomFile"
2530
violations=$((violations + 1))

0 commit comments

Comments
 (0)