Skip to content

Commit 1e41e68

Browse files
authored
Don't publish version files in codesign jobs (#55452)
1 parent 3d8b8c3 commit 1e41e68

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.azure/pipelines/jobs/codesign-xplat.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ jobs:
3939
-projects $(Build.SourcesDirectory)/eng/empty.proj
4040
/p:AssetManifestFileName=aspnetcore-${{ parameters.inputName }}-signed.xml
4141
/p:DotNetSignType=$(_SignType)
42+
/p:PublishInstallerBaseVersion=false
4243
$(_BuildArgs)
4344
$(_PublishArgs)
4445
$(_InternalRuntimeDownloadCodeSignArgs)

eng/Publishing.props

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
'$(PostBuildSign)' != 'true' and
1313
'$(DotNetBuildRepo)' != 'true'">false</EnableDefaultArtifacts>
1414

15-
<PublishInstallerBaseVersion Condition="'$(OS)' == 'Windows_NT' or '$(DotNetBuildOrchestrator)' == 'true'">true</PublishInstallerBaseVersion>
15+
<PublishInstallerBaseVersion Condition="'$(PublishInstallerBaseVersion)' == '' and
16+
('$(OS)' == 'Windows_NT' or '$(DotNetBuildOrchestrator)' == 'true')">true</PublishInstallerBaseVersion>
1617
<!-- This avoids creating VS.*.symbols.nupkg packages that are identical to the original package. -->
1718
<AutoGenerateSymbolPackages>false</AutoGenerateSymbolPackages>
1819
</PropertyGroup>

0 commit comments

Comments
 (0)