wulkanowy-mod/app/play-publish-lint.sh

9 lines
257 B
Bash
Raw Normal View History

2019-06-03 18:53:20 -05:00
#!/bin/bash -
content=$(cat < "app/src/main/play/release-notes/pl-PL/default.txt") || exit
content2=echo "$content" | dos2unix
if [[ "${#content2}" -gt 500 ]]; then
2019-06-03 18:53:20 -05:00
echo >&2 "Release notes content has reached the limit of 500 characters"
exit 1
fi