Trump Re-Tweets story with anonymous sources and classified info.
Trump retweets story with classified information | MSNBC
The President has ultimate classification and declassification authority. Therefore, it is impossible for the POTUS to release classified information. Having said that I agree that there is a lot of information that it would be very unwise for a sitting President to release.