docker-services/.ci/lint_wrap.sh
2025-01-06 23:32:12 +01:00

8 lines
No EOL
254 B
Bash
Executable file

set -o pipefail
sh .ci/lint.sh 2>&1 | tee output_tmp.txt
EXIT_CODE=$?
echo "\`\`\`" > output.txt
grep 'msg=' output_tmp.txt | awk -F'msg="' '{print $2}' | sed 's/"$//' | sed 's/\\"/"/g' >> output.txt
echo "\`\`\`" >> output.txt
echo "END"
exit $EXIT_CODE