Skip to content

Commit 730c66d

Browse files
committed
(build) Don't use Cli version for dogfooding
The globbing pattern that is used to find a GitReleaseManager exe file includes exe's within the Cli folder, which is a self contained application. While this seems to run fine locally on my machine, running it on the CI build isn't working. So let's stick to only using the .NET Global Tool version of the exe for dogfooding. In addition, let's output the exe that is being used for future reference.
1 parent 51578c0 commit 730c66d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

recipe.cake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ BuildParameters.Tasks.DotNetCoreBuildTask.Does((context) =>
3535
{
3636
var buildDir = BuildParameters.Paths.Directories.PublishedApplications;
3737

38-
var grmExecutable = context.GetFiles(buildDir + "/**/*.exe").First();
38+
var grmExecutable = context.GetFiles(buildDir + "/GitReleaseManager.Tool/**/*.exe").First();
3939

40-
context.Information("Registering Built GRM executable...");
40+
context.Information("Registering Built GRM executable... {0}", grmExecutable.FullPath);
4141
context.Tools.RegisterFile(grmExecutable);
4242
});
4343

0 commit comments

Comments
 (0)