Skip to content

Commit

Permalink
Aur update fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
friday committed Aug 24, 2021
1 parent ef013ba commit 3da8b02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/aur-update.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ def push_update(source):
ssh_key = os.sep.join((project_path, 'scripts', 'aur_key'))
git_ssh_command = 'ssh -oStrictHostKeyChecking=no -i %s' % ssh_key
ssh_enabled_env = dict(os.environ, GIT_SSH_COMMAND=git_ssh_command)
run_shell('git config user.email ulauncher.app@gmail.com')
run_shell('git config user.name "Aleksandr Gornostal"')
cwd = os.getcwd()
temp_dir = mkdtemp()
print("Temp dir: %s" % temp_dir)
Expand All @@ -62,6 +60,8 @@ def push_update(source):
set_pkg_key('pkgrel', '1')
set_pkg_key('source', source)
print("Making a git commit")
run_shell('git config user.email ulauncher.app@gmail.com')
run_shell('git config user.name "Aleksandr Gornostal"')
run_shell(f'git commit PKGBUILD .SRCINFO -m "Version update {version}"')
print("Pushing changes to master branch")
run_shell('git push origin master', env=ssh_enabled_env)
Expand Down

0 comments on commit 3da8b02

Please sign in to comment.