# Extract tag and branch information
echo "Latest upstream tag version:"
tag=$(git tag --sort=-committerdate | head -n 1)
+# To manually upgrade to a different version, hardcode tag by uncommenting the line below.
+# tag=5.19.4
echo $tag
# Explanation:
# git tag --sort=-committerdate | head -n 1