chore(build): clean
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
nyyu 2023-12-27 10:32:14 +01:00
parent a17504136a
commit f6e7363e61

View file

@ -86,7 +86,7 @@ while read -r p; do
cd .. cd ..
done <aur.txt done <aur.txt
LAST_COMMIT=$(git --no-pager log --oneline | grep -v 'CI SKIP' | cut -d' ' -f1 | sed -n '2p') LAST_COMMIT=$(git --no-pager log --oneline | grep -v 'CI SKIP' | cut -d' ' -f1 | sed -n '5p')
LAST_COMMIT=${CI_PREV_COMMIT_SHA:-$LAST_COMMIT} LAST_COMMIT=${CI_PREV_COMMIT_SHA:-$LAST_COMMIT}
echo "Finding removed packages from ${LAST_COMMIT}" echo "Finding removed packages from ${LAST_COMMIT}"
del=$(git --no-pager diff ${LAST_COMMIT}..HEAD aur.txt | tail -n +4 | grep -E '^-' | cut -c2-) del=$(git --no-pager diff ${LAST_COMMIT}..HEAD aur.txt | tail -n +4 | grep -E '^-' | cut -c2-)