fix: remove ls
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Markus Pesch 2023-10-01 21:16:54 +02:00
parent 213960abc3
commit f3c90af2b7
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
3 changed files with 4 additions and 9 deletions

View File

@ -1,7 +1,6 @@
#!/bin/bash
set -e
set -x
GIT_FETCH_ARGS=""
GIT_CHECKOUT_ARGS=""
@ -43,5 +42,3 @@ fi
git fetch ${GIT_FETCH_ARGS}
git checkout ${GIT_CHECKOUT_ARGS}
ls -la

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}"

View File

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