Hello,
We are facing continuously failing scripts in the last days. The arguments that we pass to scripts are ignored, which looks like something has changed on bash side.
if [ "latest" = "$TAG" ]; then
LATEST_LOCAL_TAG=`(git tag -l | tail -1)`
TAG="$LATEST_LOCAL_TAG";
fi
Since Travis does a shallow clone by default, it can very well be that no tags are on the current branch within 50 commits from the tip. I’ve also seen this effect in PR branches from forks. Then git tag -l prints nothing, with the result that you see.