fix: remove ls
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-10-01 21:16:54 +02:00
parent 213960abc3
commit f3c90af2b7
3 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash
set -e
FLAGS=""
if [[ -n "${PLUGIN_DEPTH}" ]]; then
FLAGS="--depth=${PLUGIN_DEPTH}"
@ -10,9 +12,6 @@ if [ ! -d .git ]; then
git remote add origin "${DRONE_REMOTE_URL}"
fi
set -e
set -x
git fetch ${FLAGS} origin "+refs/heads/${DRONE_COMMIT_BRANCH}:"
git checkout "${DRONE_COMMIT_BRANCH}"