File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
<_UploadPathRoot >aspnetcore</_UploadPathRoot >
10
10
<ProductVersionFileName >productVersion.txt</ProductVersionFileName >
11
+ <RepoProductVersionFileName >$(_UploadPathRoot)-$(ProductVersionFileName)</RepoProductVersionFileName >
11
12
<ProductVersionFileLocation >$(ArtifactsShippingPackagesDir)$(ProductVersionFileName)</ProductVersionFileLocation >
13
+ <RepoProductVersionFileLocation >$(ArtifactsShippingPackagesDir)$(RepoProductVersionFileName)</RepoProductVersionFileLocation >
12
14
</PropertyGroup >
13
15
14
16
<!-- $(InstallersOutputPath), $(SymbolsOutputPath), and $(ChecksumExtensions) are not defined. Root Directory.Build.props is not imported. -->
33
35
<_ChecksumsToPublish Include =" $(ArtifactsDir)**\*.sha512" />
34
36
</ItemGroup >
35
37
36
- <Target
38
+ <Target
37
39
Name =" _PublishInstallersAndChecksumsAndProductVersion"
38
40
DependsOnTargets =" _WriteProductVersionFile" >
39
41
<!--
78
80
<PublishFlatContainer >true</PublishFlatContainer >
79
81
<RelativeBlobPath >$(_UploadPathRoot)/Runtime/$(_PackageVersion)/$(ProductVersionFileName)</RelativeBlobPath >
80
82
</ItemsToPushToBlobFeed >
83
+
84
+ <ItemsToPushToBlobFeed Include =" $(RepoProductVersionFileLocation)" Condition =" '$(PublishInstallerBaseVersion)' == 'true'" >
85
+ <PublishFlatContainer >true</PublishFlatContainer >
86
+ <RelativeBlobPath >$(_UploadPathRoot)/Runtime/$(_PackageVersion)/$(RepoProductVersionFileName)</RelativeBlobPath >
87
+ </ItemsToPushToBlobFeed >
81
88
</ItemGroup >
82
89
</Target >
83
90
84
- <Target
91
+ <Target
85
92
Name =" _WriteProductVersionFile"
86
93
Condition =" '$(PublishInstallerBaseVersion)' == 'true'" >
87
94
<!--
106
113
Lines =" $(_ProductVersion)"
107
114
Overwrite =" true"
108
115
Encoding =" ASCII" />
116
+ <WriteLinesToFile
117
+ File =" $(RepoProductVersionFileLocation)"
118
+ Lines =" $(_ProductVersion)"
119
+ Overwrite =" true"
120
+ Encoding =" ASCII" />
109
121
</Target >
110
122
</Project >
You can’t perform that action at this time.
0 commit comments