If I recall correctly from my Antitrust Law class, I don’t think publishing the information itself would be necessarily illegal (although could be used as evidence of anticompetitive behavior). There has to be an agreement between competitors to not compete.
For example, two gas stations across the street both publish their prices and almost always they will price match. That’s not illegal because there is no explicit agreement between the gas stations to fix prices.
As another example, big law firms will often publish their salaries and bonuses and then other firms will match based on the market leaders. Again, not illegal, so long as there is no actual agreement amongst the firms to compete.