1
0

Find the correct Perl module. Results are inverted on Mac compared to Linux

This commit is contained in:
Kyle M Hall 2020-12-03 10:55:21 -05:00
parent c725901e60
commit 1c3856e489

View File

@ -20,7 +20,7 @@ mkdir dist
cp -r Koha dist/. cp -r Koha dist/.
cd dist cd dist
[ -z "$PLUGIN_MODULE" ] && PLUGIN_MODULE=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | tail -1 | sed '1q;d') [ -z "$PLUGIN_MODULE" ] && PLUGIN_MODULE=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*\.pm$' | head -1 | sed '1q;d')
echo "PLUGIN MODULE: $PLUGIN_MODULE" echo "PLUGIN MODULE: $PLUGIN_MODULE"
PLUGIN_YML=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*/PLUGIN\.yml$' | sed '1q;d') PLUGIN_YML=$(find . -regex '\./Koha/Plugin/.*[A-Za-z]*/PLUGIN\.yml$' | sed '1q;d')
@ -58,6 +58,3 @@ cd ..
rm -rf dist rm -rf dist
echo ::set-output name=filename::${RELEASE_FILENAME} echo ::set-output name=filename::${RELEASE_FILENAME}
echo "GIT DIFF:"
git diff