summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doBuild.debian.go9
1 files changed, 7 insertions, 2 deletions
diff --git a/doBuild.debian.go b/doBuild.debian.go
index 701b46b..ddf5af9 100644
--- a/doBuild.debian.go
+++ b/doBuild.debian.go
@@ -93,7 +93,12 @@ func isDebianRelease() bool {
}
func shouldBuild(repo *gitpb.Repo) string {
- if repo.IsDirty() && !argv.Force {
+ // NEVER EVER EVER BUILD DIRTY .deb PACKAGES
+ // versioning with debian will prioritize the 'd' before numbers
+ // so packages will be randomly upgraded based on the git hash
+ // just do a commit. Do not 'fix' this. This is a good idea anyway.
+ // This should be a policy everywhere.
+ if repo.IsDirty() {
return "no"
}
ver := repo.GetCurrentVersion()
@@ -169,7 +174,7 @@ func getOutdir(repo *gitpb.Repo) string {
}
if repo.CheckDirty() {
- return "/home/jcarr/incoming-devel"
+ return "/home/jcarr/incoming-dirty-junk"
}
return "/home/jcarr/incoming"