Duplicate productVersion.txt with repo-specific name
This commit is contained in:
parent
2cc9c2d4f3
commit
3aad49b708
|
|
@ -8,7 +8,9 @@
|
|||
|
||||
<_UploadPathRoot>aspnetcore</_UploadPathRoot>
|
||||
<ProductVersionFileName>productVersion.txt</ProductVersionFileName>
|
||||
<RepoProductVersionFileName>$(_UploadPathRoot)-$(ProductVersionFileName)</RepoProductVersionFileName>
|
||||
<ProductVersionFileLocation>$(ArtifactsShippingPackagesDir)$(ProductVersionFileName)</ProductVersionFileLocation>
|
||||
<RepoProductVersionFileLocation>$(ArtifactsShippingPackagesDir)$(RepoProductVersionFileName)</RepoProductVersionFileLocation>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- $(InstallersOutputPath), $(SymbolsOutputPath), and $(ChecksumExtensions) are not defined. Root Directory.Build.props is not imported. -->
|
||||
|
|
@ -78,6 +80,11 @@
|
|||
<PublishFlatContainer>true</PublishFlatContainer>
|
||||
<RelativeBlobPath>$(_UploadPathRoot)/Runtime/$(_PackageVersion)/$(ProductVersionFileName)</RelativeBlobPath>
|
||||
</ItemsToPushToBlobFeed>
|
||||
|
||||
<ItemsToPushToBlobFeed Include="$(RepoProductVersionFileLocation)" Condition=" '$(PublishInstallerBaseVersion)' == 'true'">
|
||||
<PublishFlatContainer>true</PublishFlatContainer>
|
||||
<RelativeBlobPath>$(_UploadPathRoot)/Runtime/$(_PackageVersion)/$(RepoProductVersionFileName)</RelativeBlobPath>
|
||||
</ItemsToPushToBlobFeed>
|
||||
</ItemGroup>
|
||||
</Target>
|
||||
|
||||
|
|
@ -106,5 +113,10 @@
|
|||
Lines="$(_ProductVersion)"
|
||||
Overwrite="true"
|
||||
Encoding="ASCII" />
|
||||
<WriteLinesToFile
|
||||
File="$(RepoProductVersionFileLocation)"
|
||||
Lines="$(_ProductVersion)"
|
||||
Overwrite="true"
|
||||
Encoding="ASCII" />
|
||||
</Target>
|
||||
</Project>
|
||||
|
|
|
|||
Loading…
Reference in New Issue