Skip to content

Commit

Permalink
always checkout latest tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ipitio committed Feb 17, 2024
1 parent 195500b commit 14c3a0a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions advanced/Scripts/speedtestmod/mod.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ download() {
git clean -ffdx
fi

if [ "$(git rev-parse HEAD)" != "$(git rev-parse $latestTag)" ]; then
git -c advice.detachedHead=false checkout $latestTag
fi
git -c advice.detachedHead=false checkout $latestTag
cd ..
}

Expand Down

0 comments on commit 14c3a0a

Please sign in to comment.