diff options
| -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 } |
