mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-26 20:21:00 +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):
|
def ppush_the_repo(c):
|
||||||
c.run('cd /mnt/data/etc/ && git add .', hide=True)
|
c.run('cd /mnt/data/etc/ && git add .', hide=True)
|
||||||
try:
|
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:
|
except UnexpectedExit as e:
|
||||||
if 'nothing to commit' in e.result.stdout:
|
if 'nothing to commit' in e.result.stdout:
|
||||||
print("Nothing to commit, exit")
|
print("Nothing to commit, exit")
|
||||||
|
Loading…
Reference in New Issue
Block a user