Publish sources JAR and ensure new lines.

This commit is contained in:
alex committed 2023-02-07 05:57:45 -05:00
1 parent 34648bdc8c
commit 0ed243e9ae
2 files changed
+14

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
git ls-files -z | while IFS= read -rd '' f
do
if file --mime-encoding "$f" | grep -qv binary
then
tail -c1 < "$f" | read -r _ || echo >> "$f"
fi
done