Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vsts-signed.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions setup/publish-assets.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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'."

Expand Down