Add version and current commit to log