diff options
| author | Jeff Carr <[email protected]> | 2025-10-15 07:53:16 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-15 07:53:16 -0500 |
| commit | 2ac31afb31dfc53c9973adda624c62e741424975 (patch) | |
| tree | afe5dfba5990a1f54f6e488ddc19321ef5883b21 /doBuild.debian.go | |
| parent | e27a0fa3699c8cb61819a70bce5161620dd84ad4 (diff) | |
pass the build version to dpkg
Diffstat (limited to 'doBuild.debian.go')
| -rw-r--r-- | doBuild.debian.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doBuild.debian.go b/doBuild.debian.go index 6075c29..8bf1c15 100644 --- a/doBuild.debian.go +++ b/doBuild.debian.go @@ -161,6 +161,9 @@ func buildDeb(repo *gitpb.Repo) error { if argv.Build.Debian.Arch != "" { cmd = append(cmd, "--arch", argv.Build.Debian.Arch) } + if argv.Build.Debian.BuildVersion != 0 { + cmd = append(cmd, "--buildversion", log.Sprintf("%d", argv.Build.Debian.BuildVersion)) + } if shouldBuild(repo) != "yes" { return nil |
