mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-15 07:51:37 +00:00
Fix update issue (#268)
This commit is contained in:
parent
7da0221ccb
commit
960db714b7
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user