From df4aeb9e260aa5f1d498b1049bb736c74da5ca1b Mon Sep 17 00:00:00 2001 From: "Rodney Littles, II" Date: Wed, 14 Nov 2018 09:38:00 -0600 Subject: [PATCH] (GH-25) fixed type resolution issue for CopyFiles --- Xamarin.Recipe/Content/android.cake | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Xamarin.Recipe/Content/android.cake b/Xamarin.Recipe/Content/android.cake index 175bb46..f31bc11 100644 --- a/Xamarin.Recipe/Content/android.cake +++ b/Xamarin.Recipe/Content/android.cake @@ -107,12 +107,10 @@ Task("Copy-Apk") Verbose("Build Output Directory: {0}", buildOutputDirectory); - // CopyDirectory(buildOutputDirectory, MakeAbsolute(BuildParameters.Paths.Directories.DroidArtifactDirectoryPath)); - Verbose("Apk Path: {0}", buildOutputDirectory + "/*.apk"); var files = GetFiles(buildOutputDirectory + "/*.apk") - .FirstOrDefault(x => x.GetFilename().ToString().ToLower().Contains("signed")); + .Where(x => x.GetFilename().ToString().ToLower().Contains("signed")); CopyFiles(files, MakeAbsolute(BuildParameters.Paths.Directories.DroidArtifactDirectoryPath)); }); \ No newline at end of file