Skip to content
This repository has been archived by the owner on Sep 13, 2021. It is now read-only.

Commit

Permalink
(GH-24) Fixed Copy Apk Task to only copy signed packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
RLittlesII committed Nov 14, 2018
1 parent acb1d36 commit 5d84157
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Xamarin.Recipe/Content/android.cake
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ Task("Copy-Apk")

Verbose("Apk Path: {0}", buildOutputDirectory + "/*.apk");

var files = GetFiles(buildOutputDirectory + "/*.apk");
var files = GetFiles(buildOutputDirectory + "/*.apk")
.FirstOrDefault(x => x.GetFilename().ToString().ToLower().Contains("signed"));

CopyFiles(files, MakeAbsolute(BuildParameters.Paths.Directories.DroidArtifactDirectoryPath));
});

0 comments on commit 5d84157

Please sign in to comment.