1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00

try to print to stderr

This commit is contained in:
Bartek Pacia 2024-04-01 04:29:57 +02:00
parent 3d80492992
commit df08b82200
No known key found for this signature in database

View file

@ -2,9 +2,11 @@
set -eu
check_command() {
command -v "$1" >/dev/null 2>&1
command -v "$1" >/dev/null
}
printf "hello from setup.sh\n" 1>&2
if ! check_command jq; then
echo "jq not found. Install it from https://stedolan.github.io/jq"
exit 1
@ -104,7 +106,7 @@ done
if [ -n "$VERSION_FILE" ]; then
if [ -n "$VERSION" ]; then
echo "Cannot specify both a version and a version file"
echo "Cannot specify both a version and a version file" 1>&2
exit 1
fi