The truth only came out on the publication of the general’s personal diaries.
The truth only came out on the publication of the general’s personal diaries.
-> Only when....
Only when the general's personal diaries were published did the truth come out