aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2019-01-29 20:20:21 +0800
committerGitHub <noreply@github.com>2019-01-29 20:20:21 +0800
commite9daed189e237d023091006e298e4d7041d9f872 (patch)
tree7e8ba7ba0bd07b6ddac8163cb8ce310f1d9e8fca /build
parent4eee99aac5d890602a8dc8c5b8ff55670bb2d1fd (diff)
downloadgo-tangerine-e9daed189e237d023091006e298e4d7041d9f872.tar
go-tangerine-e9daed189e237d023091006e298e4d7041d9f872.tar.gz
go-tangerine-e9daed189e237d023091006e298e4d7041d9f872.tar.bz2
go-tangerine-e9daed189e237d023091006e298e4d7041d9f872.tar.lz
go-tangerine-e9daed189e237d023091006e298e4d7041d9f872.tar.xz
go-tangerine-e9daed189e237d023091006e298e4d7041d9f872.tar.zst
go-tangerine-e9daed189e237d023091006e298e4d7041d9f872.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.
Diffstat (limited to 'build')
-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)
}
}
}