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
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ jobs:
condition: and(succeeded(), eq(variables['SigningCertificate'], variables['__RealSigningCertificate']))
inputs:
command: push
packagesToPush: $(Build.BinariesDirectory)\nuget\*.nupkg'
packagesToPush: '$(Build.BinariesDirectory)\nuget\*.nupkg'
nuGetFeedType: external
publishFeedCredentials: 'Python on Nuget'
4 changes: 4 additions & 0 deletions Tools/msi/uploadrelease.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ if (-not $skipupload) {
& $plink -batch $user@$server chgrp downloads $d
& $plink -batch $user@$server chmod g-x,o+rx $d
& $pscp -batch $chm.FullName "$user@${server}:$d"
if (-not $?) { throw "Failed to upload $chm" }

$dirs = gci "$build" -Directory
if ($embed) {
Expand All @@ -107,6 +108,7 @@ if (-not $skipupload) {

if ($exe) {
& $pscp -batch $exe.FullName "$user@${server}:$d"
if (-not $?) { throw "Failed to upload $exe" }
}

if ($msi) {
Expand All @@ -115,13 +117,15 @@ if (-not $skipupload) {
& $plink -batch $user@$server chgrp downloads $sd
& $plink -batch $user@$server chmod g-x,o+rx $sd
& $pscp -batch $msi.FullName "$user@${server}:$sd"
if (-not $?) { throw "Failed to upload $msi" }
& $plink -batch $user@$server chgrp downloads $sd*
& $plink -batch $user@$server chmod g-x,o+r $sd*
}
}

& $plink -batch $user@$server chgrp downloads $d*
& $plink -batch $user@$server chmod g-x,o+r $d*
& $pscp -ls "$user@${server}:$d"
}

if (-not $skippurge) {
Expand Down