From 4a0c85c1a949019d897e97d9dc55f1701c8d35c9 Mon Sep 17 00:00:00 2001 From: Joey Marshment-Howell Date: Wed, 19 Apr 2023 18:12:31 +0200 Subject: [PATCH] use actual release tag (#25311) --- run-ab-platform.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run-ab-platform.sh b/run-ab-platform.sh index 6b89ea70f8af..7b7a20af50e3 100755 --- a/run-ab-platform.sh +++ b/run-ab-platform.sh @@ -4,6 +4,8 @@ set -o nounset # -u exit if a variable is not set set -o errexit # -f exit for any command failure +# Get the version specified in the .env file +version_tag="v$(cat .env | grep ^VERSION | cut -d '=' -f 2)" # text color escape codes (please note \033 == \e but OSX doesn't respect the \e) blue_text='\033[94m' @@ -41,7 +43,7 @@ docker_compose_debug_yaml="docker-compose.debug.yaml" flags="flags.yml" # any string is an array to POSIX shell. Space seperates values all_files="$docker_compose_yaml $docker_compose_debug_yaml $dot_env $dot_env_dev $flags" -base_github_url="https://raw.githubusercontent.com/airbytehq/airbyte-platform/main/" +base_github_url="https://raw.githubusercontent.com/airbytehq/airbyte-platform/$version_tag/" ############################################################ # Download #