Skip to content

Commit dc77780

Browse files
committed
Fix CI
1 parent 3553a21 commit dc77780

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Build/Installer.targets

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
<StagedDataDir>$(AppBuildDir)\$(DataDirSuffix)</StagedDataDir>
8484
<StagedL10nDir>$(AppBuildDir)\$(L10nDirSuffix)</StagedL10nDir>
8585
<StagedFontDir>$(AppBuildDir)\$(FontDirSuffix)</StagedFontDir>
86+
<DistFilesStagingExcludes>$(fwrt)\DistFiles\**\.git\**\*;$(fwrt)\DistFiles\**\.github\**\*;$(fwrt)\DistFiles\**\.gitignore;$(fwrt)\DistFiles\**\.gitattributes</DistFilesStagingExcludes>
8687
</PropertyGroup>
8788

8889
<RemoveDir Directories="$(AppBuildDir)" Condition="Exists('$(AppBuildDir)')" />
@@ -130,7 +131,8 @@
130131
<BinFiles Include="$(OutputDirForConfig)\**\*" Exclude="@(L10nFiles)" />
131132
<!-- %(RecursiveDir) needs to include the locale folder name (e.g., ar\, zh-CN\). -->
132133
<L10nFilesWithRecursiveDirs Include="$(OutputDirForConfig)\**\*" Exclude="@(BinFiles)" />
133-
<BinFiles Include="$(fwrt)\DistFiles\**\*" />
134+
<!-- Helper repositories may be full git checkouts in CI; VCS metadata is not installer payload. -->
135+
<BinFiles Include="$(fwrt)\DistFiles\**\*" Exclude="$(DistFilesStagingExcludes)" />
134136
<BinFiles Include="$(fwrt)\License.htm" />
135137

136138
<!-- Exclude common dev/test artifacts that shouldn't ship. -->

0 commit comments

Comments
 (0)