Esempio n. 1
0
def __commit_and_push(team_config_git_repo: GitRepo,
                      root_config_git_repo: GitRepo, git_user: str,
                      git_email: str, app_file_name: str) -> None:
    author = team_config_git_repo.get_author_from_last_commit()
    root_config_git_repo.commit(git_user, git_email,
                                f"{author} updated " + app_file_name)
    root_config_git_repo.push()
Esempio n. 2
0
 def __commit(self, git_repo: GitRepo, message: str) -> None:
     git_repo.commit(self.__args.git_user, self.__args.git_email, message)