From 37970c08a9063d0d489660ef2e8c73c2934be191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Sun, 24 Nov 2024 19:08:04 +0100 Subject: [PATCH] Fix 1-click install tag version (#8709) Followup of #8689 --- packages/twenty-docker/scripts/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/twenty-docker/scripts/install.sh b/packages/twenty-docker/scripts/install.sh index 1f80b5750..0eec572b8 100755 --- a/packages/twenty-docker/scripts/install.sh +++ b/packages/twenty-docker/scripts/install.sh @@ -44,7 +44,7 @@ function on_exit { trap on_exit EXIT # Use environment variables VERSION and BRANCH, with defaults if not set -version=${VERSION:-$(curl -s https://api.github.com/repos/twentyhq/twenty/releases/latest | grep '"tag_name":' | cut -d '"' -f 4)} +version=${VERSION:-$(curl -s https://api.github.com/repos/twentyhq/twenty/tags | grep '"name":' | head -n 1 | cut -d '"' -f 4)} branch=${BRANCH:-$version} echo "🚀 Using version $version and branch $branch"