We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d4879c commit e0b6967Copy full SHA for e0b6967
scripts/pop-ci/src/main.rs
@@ -710,12 +710,16 @@ sudo sbuild-update \
710
.and_then(check_status)?;
711
}
712
713
- process::Command::new("fakeroot")
714
- .arg("debian/rules")
715
- .arg("clean")
716
- .current_dir(&archive)
717
- .status()
718
- .and_then(check_status)?;
+ // Linux needs to have debian/rules clean run to build with the automatic
+ // version number
+ if repo_name == "linux" {
+ process::Command::new("fakeroot")
+ .arg("debian/rules")
+ .arg("clean")
719
+ .current_dir(&archive)
720
+ .status()
721
+ .and_then(check_status)?;
722
+ }
723
724
process::Command::new("debuild")
725
.arg("--preserve-envvar").arg("PATH")
0 commit comments