diff --git a/posix/clone b/posix/clone index e4a3a3d..d0d9e19 100755 --- a/posix/clone +++ b/posix/clone @@ -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