Merge pull request #80 from mudler/versioning_integration

Versioning integration
This commit is contained in:
geaaru
2020-04-03 19:24:43 +02:00
committed by GitHub
2 changed files with 6 additions and 4 deletions

View File

@@ -466,8 +466,10 @@ func Best(set []Package) Package {
versionsRaw := []string{}
for _, p := range set {
versionsRaw = append(versionsRaw, p.GetVersion())
versionsMap[p.GetVersion()] = p
// TODO: This is temporary!.
sanitizedVersion := strings.ReplaceAll(p.GetVersion(), "_", "-")
versionsRaw = append(versionsRaw, sanitizedVersion)
versionsMap[sanitizedVersion] = p
}
versions := make([]*version.Version, len(versionsRaw))

View File

@@ -3,5 +3,5 @@ conflicts: null
id: 0
license: LGPL-2.1
name: libsndfile
version: 1.0.29+1
#version: 1.0.29+pre2_p20191024.1
#version: 1.0.29+1
version: 1.0.29+pre2_p20191024.1