From 8e9ae1dcc51c248eac09f958f819b51fc3b32a06 Mon Sep 17 00:00:00 2001 From: Brennan Colberg Date: Wed, 22 Nov 2023 06:02:09 -0800 Subject: [PATCH] allow v10 just don't test it --- entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index d44bfdd..16bac3f 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -12,9 +12,9 @@ if ! [[ "$INPUT_POSTGRESQL_VERSION" =~ ^[0-9]+$ ]]; then exit 1 fi -# Check if the input is between 11 and 16 (inclusive) -if (( INPUT_POSTGRESQL_VERSION < 11 || INPUT_POSTGRESQL_VERSION > 16 )); then - echo "Error: $INPUT_POSTGRESQL_VERSION is not between 11 and 16 (inclusive)." +# Check if the input is between 10 and 16 (inclusive) +if (( INPUT_POSTGRESQL_VERSION < 10 || INPUT_POSTGRESQL_VERSION > 16 )); then + echo "Error: $INPUT_POSTGRESQL_VERSION is not between 10 and 16 (inclusive)." exit 1 fi