Update publish.ps1
Fix the path to `.version` file to use the `$RID` env variable.
This commit is contained in:
parent
e72391fd3a
commit
2eb39a9a40
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue