Skip to content

Commit

Permalink
fix: set name and email for commit
Browse files Browse the repository at this point in the history
Signed-off-by: Lou DeGenaro <[email protected]>
  • Loading branch information
degenaro committed Nov 16, 2023
1 parent c9c207e commit da23c02
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/agau_repo_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ def repo_create(
run_cmd(cmd, gitdir)
cmd = 'git add .'
run_cmd(cmd, gitdir)
cmd = f'git config user.email {email_address}'
run_cmd(cmd, gitdir)
cmd = f'git config user.name {email_name}'
run_cmd(cmd, gitdir)
cmd = 'git commit -m Configure'
run_cmd(cmd, gitdir)
cmd = 'git push'
Expand All @@ -313,6 +317,10 @@ def repo_create(
if install_content(repo, repo_oscal_type, gitdir):
cmd = 'git add .'
run_cmd(cmd, gitdir)
cmd = f'git config user.email {email_address}'
run_cmd(cmd, gitdir)
cmd = f'git config user.name {email_name}'
run_cmd(cmd, gitdir)
cmd = 'git commit -m Content'
run_cmd(cmd, gitdir)
cmd = 'git push --set-upstream origin develop'
Expand Down

0 comments on commit da23c02

Please sign in to comment.