fix GIT_AUTHOR_NAME

master
vvzvlad 1 year ago
parent 84c1bc637f
commit 840a5d97b0

@ -1,4 +1,6 @@
#!/usr/bin/env sh
export GIT_AUTHOR_NAME="vestasync_wb_$(hostname)"
export GIT_COMMITTER_NAME="vestasync_wb_$(hostname)"
cd /mnt/data/etc/ > /dev/null 2>&1 || true
git add . > /dev/null 2>&1 || true
git commit -m "$(date)" > /dev/null 2>&1 || true

@ -70,8 +70,7 @@ def prepare_packages_wb(c):
def configure_git(c):
hostname = c.run('hostname', hide=True).stdout.strip()
c.run(f'git config --global user.name vestasync_wb_{hostname}')
c.run(f'git config --global user.name vestasync_wb_$(hostname)_manual')
c.run(f'git config --global user.email "vestasync@fake.mail"')
c.run(f'git config --global init.defaultBranch "master"')

Loading…
Cancel
Save