From 665427afe56dea738341ce350ba084858397d6ba Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sun, 26 Oct 2025 13:47:59 -0500 Subject: always put "+bXXX" in the .deb version --- currentVersions.go | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/currentVersions.go b/currentVersions.go index 358c1ac..e4bccb1 100644 --- a/currentVersions.go +++ b/currentVersions.go @@ -137,11 +137,10 @@ func (repo *Repo) DebianCurrentVersion(buildnum int) string { curver = strings.Join(parts[0:2], "-") } - // optionally debian supports build numbers - if buildnum != 0 { - // this would be the 3rd build: "0.0.90-1+b3" - curver += fmt.Sprintf("+b%d", buildnum) - } + // removing the checks for '0' and doing this everytime + // TODO: verify apt behavior without it (probably not worth it however. always add +bXXX + // TODO: verify "+b3" vs "+b20" behavior + curver += fmt.Sprintf("+b%d", buildnum) return curver } -- cgit v1.2.3