Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
16d4b8019f
@ -52,7 +52,12 @@ export GIT_COMMITTER_EMAIL=${DRONE_COMMIT_AUTHOR_EMAIL}
|
|||||||
# TODO we should ultimately look at the ref, since
|
# TODO we should ultimately look at the ref, since
|
||||||
# we need something compatible with deployment events.
|
# we need something compatible with deployment events.
|
||||||
|
|
||||||
case $DRONE_BUILD_EVENT in
|
CLONE_TYPE=$DRONE_BUILD_EVENT
|
||||||
|
case $DRONE_COMMIT_REF in
|
||||||
|
refs/tags/* ) CLONE_TYPE=tag ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
case $CLONE_TYPE in
|
||||||
pull_request)
|
pull_request)
|
||||||
clone-pull-request
|
clone-pull-request
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user