Each town, city and borough in this state shall print and publish all amendments to its ordinances, all new ordinances and all special acts adopted after June 1, 1962, on or before March first of each even-numbered year as a cumulative supplement to the compilation of its ordinances and special acts. Such compilation and all supplements thereto shall be available for sale to the public at the office of the clerk or other similar office in such municipality at a reasonable cost to be determined by such municipality and a copy of each such compilation and supplement, whether tangible or intangible in form, shall be deposited by the clerk of the municipality in the office of the Secretary of the State, in the State Library, in each bar library in the judicial district in which such municipality is located and in the courthouse library of the court nearest to such municipality. If any town, city or borough fails to comply with the provisions of this section, the Secretary of the State shall provide for the original compilation and publication of such ordinances and special acts or of any supplement thereto and such town, city or borough shall be liable for the cost of such compilation and publication.