diff options
| author | Jeff Carr <[email protected]> | 2025-10-26 13:47:59 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-26 13:47:59 -0500 |
| commit | 665427afe56dea738341ce350ba084858397d6ba (patch) | |
| tree | d6080fbc5175b86c67d28039bf371350a0f2dc35 | |
| parent | 3530be56eda8fbc388e7ad74b0e262201d8587cb (diff) | |
always put "+bXXX" in the .deb version
| -rw-r--r-- | currentVersions.go | 9 |
1 files 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 } |
