Skip to content

Commit 46b45be

Browse files
committed
Fixed DockerBuild.ps1.
1 parent 990c102 commit 46b45be

File tree

3 files changed

+2
-11
lines changed

3 files changed

+2
-11
lines changed

DockerBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ $GitDirectories = $expandedGitDirectories
594594
# Deduplicate again after transformations and expansions (case-insensitive for Windows paths)
595595
$VolumeMappings = $VolumeMappings | Group-Object { $_.ToLower() } | ForEach-Object { $_.Group[0] }
596596
$MountPoints = $MountPoints | Group-Object { $_.ToLower() } | ForEach-Object { $_.Group[0] }
597-
$GitDirectories = $GitDirectories | Group-Object { $_.ToLower() } | ForEach-Object { $_.Group[0] }
597+
$GitDirectories = $GitDirectories | Group-Object { $_.FullName.ToLower() } | ForEach-Object { $_.Group[0] }
598598

599599
# Build subst commands string for inline execution in docker run
600600
$substCommandsInline = ""

src/PostSharp.Engineering.BuildTools/ContinuousIntegration/GenerateScriptsCommand.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,15 +59,6 @@ public static bool Execute( BuildContext context, CommonCommandSettings settings
5959
return false;
6060
}
6161

62-
if ( !File.Exists( dependenciesOverrideFile.FilePath ) )
63-
{
64-
// The dependencies must be initialized for the first time.
65-
if ( new ResetDependenciesCommand().Execute( context.CommandContext, new ResetDependenciesCommandSettings { All = true } ) != 0 )
66-
{
67-
return false;
68-
}
69-
}
70-
7162
if ( !dependenciesOverrideFile.TryWrite( context ) )
7263
{
7364
return false;

src/PostSharp.Engineering.BuildTools/Resources/DockerBuild.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ $GitDirectories = $expandedGitDirectories
594594
# Deduplicate again after transformations and expansions (case-insensitive for Windows paths)
595595
$VolumeMappings = $VolumeMappings | Group-Object { $_.ToLower() } | ForEach-Object { $_.Group[0] }
596596
$MountPoints = $MountPoints | Group-Object { $_.ToLower() } | ForEach-Object { $_.Group[0] }
597-
$GitDirectories = $GitDirectories | Group-Object { $_.ToLower() } | ForEach-Object { $_.Group[0] }
597+
$GitDirectories = $GitDirectories | Group-Object { $_.FullName.ToLower() } | ForEach-Object { $_.Group[0] }
598598

599599
# Build subst commands string for inline execution in docker run
600600
$substCommandsInline = ""

0 commit comments

Comments
 (0)