Skip to content

Commit 067975c

Browse files
committed
do clean moved to before build.
1 parent 56ef804 commit 067975c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,14 @@ deb: deb-v2-x86 deb-v2-arm
7878

7979
.PHONY: deb-v2-x86
8080
deb-v2-x86:
81+
git clean -f -d ./packaging
8182
make build/mackerel-check GOOS=linux GOARCH=amd64
8283
cp build/mackerel-check packaging/deb-v2/debian/
8384
cd packaging/deb-v2 && debuild --no-tgz-check -rfakeroot -uc -us
8485

8586
.PHONY: deb-v2-arm
8687
deb-v2-arm:
88+
git clean -f -d ./packaging
8789
make build/mackerel-check GOOS=linux GOARCH=arm64
8890
cp build/mackerel-check packaging/deb-v2/debian/
8991
cd packaging/deb-v2 && debuild --no-tgz-check -rfakeroot -uc -us -aarm64

0 commit comments

Comments
 (0)