You've already forked git-docker
fix: use whitespaces instead of tabs
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@ -2,18 +2,18 @@
|
||||
|
||||
FLAGS=""
|
||||
if [[ -n "${PLUGIN_DEPTH}" ]]; then
|
||||
FLAGS="--depth=${PLUGIN_DEPTH}"
|
||||
FLAGS="--depth=${PLUGIN_DEPTH}"
|
||||
fi
|
||||
|
||||
if [ ! -d .git ]; then
|
||||
git init
|
||||
git remote add origin "${DRONE_REMOTE_URL}"
|
||||
git init
|
||||
git remote add origin "${DRONE_REMOTE_URL}"
|
||||
fi
|
||||
|
||||
set -e
|
||||
set -x
|
||||
|
||||
git fetch "${FLAGS}" origin "+refs/heads/${DRONE_COMMIT_BRANCH}:"
|
||||
git fetch ${FLAGS} origin "+refs/heads/${DRONE_COMMIT_BRANCH}:"
|
||||
git checkout "${DRONE_COMMIT_BRANCH}"
|
||||
|
||||
git fetch origin "${DRONE_COMMIT_REF}:"
|
||||
|
Reference in New Issue
Block a user