determine latest tag reliably