chore(build): clean
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a17504136a
commit
f6e7363e61
1 changed files with 1 additions and 1 deletions
2
build.sh
2
build.sh
|
@ -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-)
|
||||||
|
|
Loading…
Add table
Reference in a new issue