fix: configure Git email
parent
7812cc6477
commit
9a0c290709
|
@ -91,6 +91,8 @@ clean() {
|
|||
|
||||
# $1: branch name
|
||||
# $2: directory containing build assets
|
||||
# $3: Author in <author-name author@example.com> format
|
||||
# $3: Author in <author-name author@example.com> format
|
||||
deploy() {
|
||||
cd $PROJECT_ROOT
|
||||
tmp_dir=$(mktemp -d)
|
||||
|
@ -99,7 +101,10 @@ deploy() {
|
|||
git rm -rf .
|
||||
/bin/rm -rf *
|
||||
cp -r $tmp_dir/* .
|
||||
git add --all && git commit -m "new deploy: $(date --iso-8601=seconds)"
|
||||
git add --all
|
||||
git commit \
|
||||
--author="$3" \
|
||||
--message="new deploy: $(date --iso-8601=seconds)"
|
||||
}
|
||||
|
||||
check_arg $1
|
||||
|
|
Loading…
Reference in New Issue