Skip to content

Commit abaade8

Browse files
committed
fix(ci): add git clean before pull
1 parent 69aa5a4 commit abaade8

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/build-artifacts.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ MAKEFLAGS="-j$(nproc)"
1515
export MAKEFLAGS
1616

1717
pushd emacs || exit
18-
su-exec "$USR" make distclean
18+
su-exec "$USR" make extraclean
1919
popd || exit
2020
su-exec "$USR" makepkg
2121

scripts/pull.bash

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -euxo pipefail
44

55
if [[ -d "emacs" ]]; then
66
cd emacs
7+
git clean -fX
78
git checkout .
89
git pull --rebase origin "$UPSTREAM_BRANCH"
910
else

0 commit comments

Comments
 (0)