Added compare current tag check to skip subsequent steps if we are already on the provided tag