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