Created a productVersion.version to be published

This commit is contained in:
Bekir Ozturk 2020-03-26 16:39:00 +01:00
parent 7812d15d5c
commit 9aac2bd589

View file

@ -42,6 +42,7 @@
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.nupkg" />
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.cab" />
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)*.svg" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
<SdkAssetsToPublish Include="$(ArtifactsShippingPackagesDir)productVersion.version" Condition=" '$(PublishBinariesAndBadge)' == 'true' " />
<SdkNonShippingAssetsToPublish Include="$(ArtifactsNonShippingPackagesDir)*.nupkg" />
<SdkNonShippingAssetsToPublish Include="$(ArtifactsNonShippingPackagesDir)*.swr" />
<CheckSumsToPublish Include="$(ArtifactsShippingPackagesDir)*.sha" />
@ -59,6 +60,12 @@
PropertyName="FullNugetVersion"/>
</ReadLinesFromFile>
<WriteLinesToFile
File="$(ArtifactsShippingPackagesDir)productVersion.version"
Lines="$(Version)"
Overwrite="true"
Encoding="ASCII"/>
<!-- If the sdk version is stabilized, then we should double publish the binaries to suffixed file names.
To do this, create new copies of the blobs, replacing the SdkVersion string in the file name with the
FullNugetVersion, except if the FullNuGetVersion is already in the file name (which would end up