mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-11-05 06:49:11 +03:00
add name
This commit is contained in:
parent
db86b488fb
commit
d32eee4e29
@ -215,7 +215,7 @@ def copy_etc(c):
|
||||
def ppush_the_repo(c):
|
||||
c.run('cd /mnt/data/etc/ && git add .', hide=True)
|
||||
try:
|
||||
c.run('cd /mnt/data/etc/ && git commit -m "$(date)"', hide=True)
|
||||
c.run('GIT_AUTHOR_NAME="vestasync_wb_$(hostname)_update" GIT_COMMITTER_NAME=$GIT_AUTHOR_NAME cd /mnt/data/etc/ && git commit -m "$(date)"', hide=True)
|
||||
except UnexpectedExit as e:
|
||||
if 'nothing to commit' in e.result.stdout:
|
||||
print("Nothing to commit, exit")
|
||||
|
Loading…
Reference in New Issue
Block a user