Update publish.ps1

Fix the path to `.version` file to use the `$RID` env variable.
This commit is contained in:
Sridhar Periyasamy 2016-02-16 13:51:36 -08:00
parent e72391fd3a
commit 2eb39a9a40

View file

@ -108,7 +108,7 @@ function UploadBinaries($zipFile)
}
# update the version file
$versionFile = Convert-Path $PSScriptRoot\..\..\artifacts\win7-x64\stage2\.version
$versionFile = Convert-Path $PSScriptRoot\..\..\artifacts\$env:RID\stage2\.version
$versionBlob = "$env:CHANNEL/dnvm/latest.win.version"
if(-Not (UploadFile $versionBlob $versionFile))