aboutsummaryrefslogtreecommitdiffstats
path: root/build/deb.rules
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2016-10-01 04:03:08 +0800
committerFelix Lange <fjl@twurst.com>2016-10-02 19:08:56 +0800
commit4f7627972e4997965be6f3c406904ef613e14c20 (patch)
tree0d4e7f9ce56a2d161aa8408523d15cf95f0086d2 /build/deb.rules
parentd8715fba1a366944a069397775fc52a30358eff3 (diff)
downloaddexon-4f7627972e4997965be6f3c406904ef613e14c20.tar.gz
dexon-4f7627972e4997965be6f3c406904ef613e14c20.tar.zst
dexon-4f7627972e4997965be6f3c406904ef613e14c20.zip
build: improve debian packaging
This commit tweaks the debian packaging tool: * All build environment metadata can now be overriden on the command line. This allows testing the CI build behaviour locally. * -unstable packages now actually contain the binaries (oops) * packages use Go 1.7 to build * archiving is skipped for PR builds
Diffstat (limited to 'build/deb.rules')
-rw-r--r--build/deb.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/deb.rules b/build/deb.rules
index 3dfadb08d..11efe15fc 100644
--- a/build/deb.rules
+++ b/build/deb.rules
@@ -5,7 +5,7 @@
#export DH_VERBOSE=1
override_dh_auto_build:
- build/env.sh /usr/lib/go-1.6/bin/go run build/ci.go install -gitcommit {{.Commit}}
+ build/env.sh /usr/lib/go-1.7/bin/go run build/ci.go install -git-commit={{.Env.Commit}} -git-branch={{.Env.Branch}} -git-tag={{.Env.Tag}} -buildnum={{.Env.Buildnum}} -pull-request={{.Env.IsPullRequest}}
override_dh_auto_test: