XBD ItemID’s must not have multiple - in them

So if we have a case like:  26.0.0-alpha1, it would create an ItemID like `supportv4-26.0.0-alpha1` which is not allowed.  Instead we’ll replace the verison’s - with _ to create `supportv4-26.0.0_alpha1`
This commit is contained in:
Redth 2017-05-17 06:55:44 -07:00
Родитель 7cea67ee83
Коммит efa8c413d6
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -410,7 +410,7 @@ Task ("nuget-setup").IsDependentOn ("buildtasks").IsDependentOn ("externals")
{ "_XbdRestoreItems_", "_XbdRestoreItems_" + msName },
{ "$XbdUrl$", M2_REPOSITORY_URL },
{ "$XbdMd5$", part.Md5 },
{ "$XbdKey$", "androidsupport-" + AAR_VERSION + "/" + msName },
{ "$XbdKey$", "androidsupport-" + AAR_VERSION.Replace("-", "_") + "/" + msName },
{ "$XbdAssemblyName$", aar.NugetId },
{ "$XbdRangeStart$", part.RangeStart.ToString() },
{ "$XbdRangeEnd$", part.RangeEnd.ToString() },