History offers plenty of other examples. Daniel Ellsberg is one of the most notable that comes to mind without spending more than a few seconds to think about it.
Is it worth it? That likely depends on how highly you prioritize the protection of liberty. Itβs ultimately a personal call, and I don't mean that as a judgement one way or the other.
As publication seems necessary to help free people who should not be jailed, or to keep people from being disappeared the authorities find inconvenient, it seems some other solution should be found for the ruined lives due to publication, not that we just trade some number of ruined lives around by not publicizing.