It is the duty of the county commission, if there is not a sufficient jail in its county, to levy a county tax for the erection thereof and cause proposals to be issued for building or repairing the same within 12 months thereafter.