Skip to content

Commit 2d4879c

Browse files
committed
Call debian/rules clean before source debuild
1 parent 9c94ef5 commit 2d4879c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/pop-ci/src/main.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,13 @@ sudo sbuild-update \
710710
.and_then(check_status)?;
711711
}
712712

713+
process::Command::new("fakeroot")
714+
.arg("debian/rules")
715+
.arg("clean")
716+
.current_dir(&archive)
717+
.status()
718+
.and_then(check_status)?;
719+
713720
process::Command::new("debuild")
714721
.arg("--preserve-envvar").arg("PATH")
715722
.arg("--set-envvar").arg(format!("SOURCE_DATE_EPOCH={}", commit_timestamp))

0 commit comments

Comments
 (0)