aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2019-01-29 20:20:21 +0800
committerFelix Lange <fjl@twurst.com>2019-01-30 00:50:09 +0800
commit1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf (patch)
tree8f722dc5815f66d314e9c0f9f20f1d79e0bd41d8
parent2ae481ff6b3ef3c2d9e7acc79bf8aea3b3983764 (diff)
downloadgo-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.tar
go-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.tar.gz
go-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.tar.bz2
go-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.tar.lz
go-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.tar.xz
go-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.tar.zst
go-tangerine-1f3dfed19e0d1e0e2536d547e8fd37e9d0ad3cdf.zip
build: tweak debian source package build/upload options (#18962)
dput --passive should make repo pushes from Travis work again. dput --no-upload-log works around an issue I had while uploading locally. debuild -d says that debuild shouldn't check for build dependencies when creating the source package. This option is needed to make builds work in environments where the installed Go version doesn't match the declared dependency in the source package.
-rw-r--r--build/ci.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/ci.go b/build/ci.go
index 1bbc94471..d2f4ce4fe 100644
--- a/build/ci.go
+++ b/build/ci.go
@@ -513,7 +513,7 @@ func doDebianSource(cmdline []string) {
for _, distro := range debDistros {
meta := newDebMetadata(distro, *signer, env, now, pkg.Name, pkg.Version, pkg.Executables)
pkgdir := stageDebianSource(*workdir, meta)
- debuild := exec.Command("debuild", "-S", "-sa", "-us", "-uc")
+ debuild := exec.Command("debuild", "-S", "-sa", "-us", "-uc", "-d")
debuild.Dir = pkgdir
build.MustRun(debuild)
@@ -523,7 +523,7 @@ func doDebianSource(cmdline []string) {
build.MustRunCommand("debsign", changes)
}
if *upload != "" {
- build.MustRunCommand("dput", *upload, changes)
+ build.MustRunCommand("dput", "--passive", "--no-upload-log", *upload, changes)
}
}
}