Write version in builds