Skip to content

Commit

Permalink
More Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
dellis1972 committed Oct 10, 2024
1 parent 13b926a commit 85aa7e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<DotnetCommand Condition="'$(DotnetCommand)' == ''">dotnet</DotnetCommand>
<EnableMGCBItems Condition="'$(EnableMGCBItems)' == ''">true</EnableMGCBItems>
<MGCBToolDirectory>$(MSBuildThisFileDirectory)tools</MGCBToolDirectory>
<MGCBToolDirectory>$(MSBuildThisFileDirectory)dotnet-tools</MGCBToolDirectory>
<MGCBCommand Condition="'$(MGCBCommand)' == ''">mgcb</MGCBCommand>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@

<PropertyGroup>
<_Command Condition="Exists ('$(MGCBToolDirectory)\$(MGCBCommand)')">&quot;$(MGCBToolDirectory)\$(MGCBCommand)&quot;</_Command>
<!-- Fallback to old behaviour this allows people to override $(MGCBCommand) -->
<!-- Fallback to old behaviour this allows people to override $(MGCBCommand) with the mgcb.dll -->
<_Command Condition=" '$(_Command)' == '' ">&quot;$(DotnetCommand)&quot; &quot;$(MGCBCommand)&quot;</_Command>
</PropertyGroup>

Expand Down
2 changes: 1 addition & 1 deletion build/DeployTasks/UploadArtifactsTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override async Task RunAsync(BuildContext context)
// because the zip removes all the permissions.
// Plus in windows hidden files (like the .store directory)
// are ignored. This causes `dotnet tool` to error.
var path = System.IO.Path.Combine(context.BuildOutput, "Tests", "Tools", "Release", "tools");
var path = System.IO.Path.Combine(context.BuildOutput, "Tests", "Tools", "Release", "dotnet-tools");
if (System.IO.Directory.Exists(path)) {
context.Log.Information ($"Deleting: {path}");
System.IO.Directory.Delete (path, recursive: true);
Expand Down

0 comments on commit 85aa7e2

Please sign in to comment.