Whenever a person is committed to jail the judge shall direct the clerk to issue a written order of commitment, which shall be delivered to the jailer by the peace officer who executes it. If the offense is bailable, the judge must fix the sum for which bail is to be given and direct the clerk to enter it on the order of commitment. Thereafter, the bail shall be taken by the clerk of the court in which the defendant is held to appear.
Ky. R. Crim. P. RCr 3.18