class_docstr: Helps to build releases through scripting of steps.
class_docstr_tok: ["Helps","to","build","releases","through","scripting","of","steps","."]
docstr: Updates the version variables in the project's version file.
  
  Returns:
    True if the version file was committed, False if no change was needed.
docstr_tok: ["Updates","the","version","variables","in","the","project","'s","version","file",".","Returns",":","True","if","the","version","file","was","committed",",","False","if","no","change","was","needed","."]
code: def _update_version_file(self):
      """Updates the version variables in the project's version file.
  
      Returns:
        True if the version file was committed, False if no change was needed.
      """
      file_path = os.path.join(
          self.repo.working_tree_dir, self.version_file
      )
      self._update_version_numbers(file_path)
      return self._commit_file(
          self.version_file,
          "Version updated for release {}.{}.{}{}.".format(
              self.major, self.minor, self.patch, self.release
          ),
      )
  
imports: import fileinput
  import os
  from absl import app
  from absl import flags
  from absl import logging
  from git import Repo
  from git.exc import GitCommandError
  from git.exc import InvalidGitRepositoryError
label_desc: Use image node_id 6 for calling the ReleaseBuilder obj's underlying member method code with example usage: obj._update_version_file() and returns: self