fix set user/email
This commit is contained in:
parent
16d4b8019f
commit
419d29331d
@ -33,11 +33,11 @@ fi
|
||||
# following environment variables:
|
||||
|
||||
|
||||
if [[ -z "${GIT_AUTHOR_NAME}" ]]; then
|
||||
if [[ -z "${DRONE_COMMIT_AUTHOR_NAME}" ]]; then
|
||||
export DRONE_COMMIT_AUTHOR_NAME=drone
|
||||
fi
|
||||
|
||||
if [[ -z "${GIT_AUTHOR_EMAIL}" ]]; then
|
||||
if [[ -z "${DRONE_COMMIT_AUTHOR_EMAIL}" ]]; then
|
||||
export DRONE_COMMIT_AUTHOR_EMAIL=drone@localhost
|
||||
fi
|
||||
|
||||
@ -45,8 +45,6 @@ export GIT_AUTHOR_NAME=${DRONE_COMMIT_AUTHOR_NAME}
|
||||
export GIT_AUTHOR_EMAIL=${DRONE_COMMIT_AUTHOR_EMAIL}
|
||||
export GIT_COMMITTER_NAME=${DRONE_COMMIT_AUTHOR_NAME}
|
||||
export GIT_COMMITTER_EMAIL=${DRONE_COMMIT_AUTHOR_EMAIL}
|
||||
# GIT_SSL_NO_VERIFY=
|
||||
|
||||
|
||||
# invoke the sub-script based on the drone event type.
|
||||
# TODO we should ultimately look at the ref, since
|
||||
|
Loading…
Reference in New Issue
Block a user