Record the commits in versions.txt