Trump released the transcript because it distracted from the Inspector General’s report on the whistleblower. Also I’m sure Republicans were asking for it behind the scenes because they had no excuse to withhold it and thus were looking bad trying to defend him over it.