diff --git a/.vsts-signed.yaml b/.vsts-signed.yaml index 599237086b3..21986906d64 100644 --- a/.vsts-signed.yaml +++ b/.vsts-signed.yaml @@ -86,7 +86,7 @@ jobs: displayName: Publish nightly package to MyGet inputs: scriptName: 'setup\publish-assets.ps1' - arguments: '-binariesPath artifacts\bin -configuration $(BuildConfiguration) -branchName $(Build.SourceBranch) -apiKey $(FSharp.MyGetApiKey)' + arguments: '-artifactsPath artifacts -configuration $(BuildConfiguration) -branchName $(Build.SourceBranch) -apiKey $(FSharp.MyGetApiKey)' condition: succeeded() # Package publish diff --git a/setup/publish-assets.ps1 b/setup/publish-assets.ps1 index bfa905bbad9..7ef01a5ffc3 100644 --- a/setup/publish-assets.ps1 +++ b/setup/publish-assets.ps1 @@ -2,7 +2,7 @@ .SYNOPSIS Publishes the VSIX package on MyGet. -.PARAMETER binariesPath +.PARAMETER artifactsPath The root directory where the build outputs are written. .PARAMETER branchName @@ -14,7 +14,7 @@ The API key used to authenticate with MyGet. #> Param( - [string]$binariesPath = $null, + [string]$artifactsPath = $null, [string]$branchName = $null, [string]$apiKey = $null, [string]$configuration = $null @@ -41,7 +41,7 @@ try { } $branchName = $branchName.Replace("/", "_") # can't have slashes in the branch name - $vsix = Join-Path $binariesPath "VisualFSharpFull\$configuration\net46\VisualFSharpFull.vsix" + $vsix = Join-Path $artifactsPath "VSSetup\$configuration\Insertion\VisualFSharpFull.vsix" Write-Host " Uploading '$vsix' to '$requestUrl'."