mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 23:00:58 +00:00
Revert "build: Only the first dash in the Debian version should become a tilde"
This reverts commit 1cb09b7d2d
.
I misunderstood and acted too quickly.
This commit is contained in:
parent
1cb09b7d2d
commit
616883304e
2
build.go
2
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",
|
||||
|
Loading…
Reference in New Issue
Block a user