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

View File

@ -6,7 +6,7 @@ echo "Pulling changes..."
git fetch --all git fetch --all
echo "Checking out the latest tag..." 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 checkout "$NEW_RELEASE"
git pull origin "$NEW_RELEASE" git pull origin "$NEW_RELEASE"