Ex-NBA All-Star officially announces his retirement