Fixing the PullNupkgFilesFromBlob script to look for the corehost and metapackage nupkgs under "preview1" instead of
finding the old "rc2" packages.
This commit is contained in:
parent
fb037e66a0
commit
c867787675
1 changed files with 4 additions and 1 deletions
|
@ -346,7 +346,10 @@ namespace Microsoft.DotNet.Cli.Build
|
||||||
|
|
||||||
List<string> buildVersions = new List<string>();
|
List<string> buildVersions = new List<string>();
|
||||||
|
|
||||||
Regex buildVersionRegex = new Regex(@"Binaries/(?<version>\d+\.\d+\.\d+-[^-]+-\d{6})/$");
|
// The corehost packages are published to the CLI version, which is "preview1-xxxxxx" right now.
|
||||||
|
// But there are -rc2-xxxxxx blobs on Azure, which breaks the sort descending. So only look for
|
||||||
|
// -p(.*)-xxxxxx for now to ignore those rc2 packages.
|
||||||
|
Regex buildVersionRegex = new Regex(@"Binaries/(?<version>\d+\.\d+\.\d+-p[^-]+-\d{6})/$");
|
||||||
|
|
||||||
foreach (string file in AzurePublisherTool.ListBlobs(hostBlob))
|
foreach (string file in AzurePublisherTool.ListBlobs(hostBlob))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue