summarylogtreecommitdiffstats
path: root/ci.bash
diff options
context:
space:
mode:
authorXenHat2023-01-18 18:00:21 -0500
committerXenHat2023-01-18 18:02:51 -0500
commit61a0fbceaa9b9515e6b02da3de582dd070130ac6 (patch)
treef262d1f1c936cb9128dddae5eb00f42d71601cd1 /ci.bash
parent907f0cd4b18d16477a00a8f7ea2d734821145e53 (diff)
downloadaur-61a0fbceaa9b9515e6b02da3de582dd070130ac6.tar.gz
better ci fixes
Diffstat (limited to 'ci.bash')
-rwxr-xr-xci.bash6
1 files changed, 2 insertions, 4 deletions
diff --git a/ci.bash b/ci.bash
index 8e424b51bfa4..dc6b77c4d8e6 100755
--- a/ci.bash
+++ b/ci.bash
@@ -9,12 +9,10 @@ done
DIR="$( cd -P "$( dirname "$SOURCE" )" >/dev/null 2>&1 && pwd )"
cd "${DIR}" || return
-git checkout .
-git reset --hard HEAD
-git pull
+git pull --prune
# Weird pgrep fail with the complete binary name
if pgrep -a do-not-directly|grep alchemy ; then
echo "Aborting package build because Alchemy is running"
exit 0
fi
-BUILDENV=(!distcc color !ccache check sign) makepkg --sync --install --noconfirm --needed
+BUILDENV=(!distcc color !ccache check) makepkg --cleanbuild --clean --sync --install --noconfirm --needed