mirror of
https://github.com/vvzvlad/vestasync.git
synced 2024-12-27 04:31:01 +03:00
fix GIT_AUTHOR_NAME
This commit is contained in:
parent
84c1bc637f
commit
840a5d97b0
@ -1,4 +1,6 @@
|
|||||||
#!/usr/bin/env sh
|
#!/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
|
cd /mnt/data/etc/ > /dev/null 2>&1 || true
|
||||||
git add . > /dev/null 2>&1 || true
|
git add . > /dev/null 2>&1 || true
|
||||||
git commit -m "$(date)" > /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):
|
def configure_git(c):
|
||||||
hostname = c.run('hostname', hide=True).stdout.strip()
|
c.run(f'git config --global user.name vestasync_wb_$(hostname)_manual')
|
||||||
c.run(f'git config --global user.name vestasync_wb_{hostname}')
|
|
||||||
c.run(f'git config --global user.email "vestasync@fake.mail"')
|
c.run(f'git config --global user.email "vestasync@fake.mail"')
|
||||||
c.run(f'git config --global init.defaultBranch "master"')
|
c.run(f'git config --global init.defaultBranch "master"')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user