Skip to content

Commit

Permalink
Fix 1-click install tag version (#8709)
Browse files Browse the repository at this point in the history
Followup of #8689
  • Loading branch information
FelixMalfait authored Nov 24, 2024
1 parent 3f1683f commit 37970c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/twenty-docker/scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 37970c0

Please sign in to comment.