Some version names contain rc suffix, we need to hanlde that.