diff --git a/scripts/update.sh b/scripts/update.sh index b38142c..abb5a06 100755 --- a/scripts/update.sh +++ b/scripts/update.sh @@ -6,7 +6,7 @@ echo "Pulling changes..." git fetch --all echo "Checking out the latest tag..." -NEW_RELEASE=$(git tag -l --merged 1.x --sort=-v:refname | head -n 1) +NEW_RELEASE=$(git tag -l "1.*" --sort=-v:refname | head -n 1) git checkout "$NEW_RELEASE" git pull origin "$NEW_RELEASE"