From 616883304e9ecd64e094ddae84c73ef85f7f89f2 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Sat, 5 May 2018 15:33:54 +0200 Subject: [PATCH] Revert "build: Only the first dash in the Debian version should become a tilde" This reverts commit 1cb09b7d2dd2068731c00df28fa170c04b8d570b. I misunderstood and acted too quickly. --- build.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.go b/build.go index 43f2c4fed..f1e6de0d5 100644 --- a/build.go +++ b/build.go @@ -588,7 +588,7 @@ func buildDeb(target target) { // Debian interprets dashes as separator between main version and // Debian package version, and thus thinks 0.14.26-rc.1 is better // than just 0.14.26. This rectifies that. - debver = strings.Replace(debver, "-", "~", 1) + debver = strings.Replace(debver, "-", "~", -1) } args := []string{ "-t", "deb",