Fix update issue (#268)

This commit is contained in:
Saeed Vaziry 2024-08-03 12:40:44 +02:00 committed by GitHub
parent 7da0221ccb
commit 960db714b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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"