1
0
mirror of https://github.com/wulkanowy/wulkanowy.git synced 2024-11-22 16:46:43 -06:00
wulkanowy-mirror/app/play-publish-lint.sh

9 lines
257 B
Bash
Executable File

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