File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
tools/releaseBuild/azureDevOps/templates Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ jobs:
112
112
- task : AzureFileCopy@4
113
113
displayName : ' Upload to Azure - DEB and tar.gz'
114
114
inputs :
115
- SourcePath : ' $(System.ArtifactsDirectory)\finished\release'
115
+ SourcePath : ' $(System.ArtifactsDirectory)\finished\release\* '
116
116
azureSubscription : ' $(AzureFileCopySubscription)'
117
117
Destination : AzureBlob
118
118
storage : ' $(StorageAccount)'
@@ -125,7 +125,7 @@ jobs:
125
125
- task : AzureFileCopy@4
126
126
displayName : ' Upload to Azure - RPM - Unsigned'
127
127
inputs :
128
- SourcePath : ' $(System.ArtifactsDirectory)\rpm\release'
128
+ SourcePath : ' $(System.ArtifactsDirectory)\rpm\release\* '
129
129
azureSubscription : ' $(AzureFileCopySubscription)'
130
130
Destination : AzureBlob
131
131
storage : ' $(StorageAccount)'
@@ -135,7 +135,7 @@ jobs:
135
135
- task : AzureFileCopy@4
136
136
displayName : ' Upload to Azure - RPM - Signed'
137
137
inputs :
138
- SourcePath : ' $(Build.StagingDirectory)\signedPackages'
138
+ SourcePath : ' $(Build.StagingDirectory)\signedPackages\* '
139
139
azureSubscription : ' $(AzureFileCopySubscription)'
140
140
Destination : AzureBlob
141
141
storage : ' $(StorageAccount)'
Original file line number Diff line number Diff line change 68
68
$destination = "$(System.ArtifactsDirectory)\azureMacOs"
69
69
New-Item -Path $destination -Type Directory
70
70
$zipPath = dir "$(Build.StagingDirectory)\signedMacOSPackages\powershell-*.zip" -Recurse | select-object -expandproperty fullname
71
- Expand-Archive -Path $zipPath -DestinationPath $destination
72
- $targzPath = dir "$(System.ArtifactsDirectory)\*.tar.gz" -Recurse | select-object -expandproperty fullname
71
+ foreach ($z in $zipPath) { Expand-Archive -Path $z -DestinationPath $destination }
72
+ $targzPath = dir "$(System.ArtifactsDirectory)\*osx* .tar.gz" -Recurse | select-object -expandproperty fullname
73
73
Copy-Item -Path $targzPath -Destination $destination
74
74
displayName: 'Extract and copy macOS artifacts for upload'
75
75
condition: and(succeeded(), eq(variables['SHOULD_SIGN'], 'true'))
90
90
- task : AzureFileCopy@4
91
91
displayName : ' AzureBlob File Copy - unsigned'
92
92
inputs :
93
- SourcePath : ' $(Build.StagingDirectory)\macos-unsigned'
93
+ SourcePath : ' $(Build.StagingDirectory)\macos-unsigned\* '
94
94
azureSubscription : ' $(AzureFileCopySubscription)'
95
95
Destination : AzureBlob
96
96
storage : ' $(StorageAccount)'
@@ -100,7 +100,7 @@ jobs:
100
100
- task : AzureFileCopy@4
101
101
displayName : ' AzureBlob File Copy - signed'
102
102
inputs :
103
- SourcePath : ' $(System.ArtifactsDirectory)\azureMacOs'
103
+ SourcePath : ' $(System.ArtifactsDirectory)\azureMacOs\* '
104
104
azureSubscription : ' $(AzureFileCopySubscription)'
105
105
Destination : AzureBlob
106
106
storage : ' $(StorageAccount)'
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ jobs:
205
205
- task : AzureFileCopy@4
206
206
displayName : ' Upload NuGet packages to Azure'
207
207
inputs :
208
- SourcePath : ' $(System.ArtifactsDirectory)\signed\'
208
+ SourcePath : ' $(System.ArtifactsDirectory)\signed\* '
209
209
azureSubscription : ' $(AzureFileCopySubscription)'
210
210
Destination : AzureBlob
211
211
storage : ' $(StorageAccount)'
@@ -215,7 +215,7 @@ jobs:
215
215
- task : AzureFileCopy@4
216
216
displayName : ' Upload global tool packages to Azure'
217
217
inputs :
218
- sourcePath : ' $(System.ArtifactsDirectory)\signed\globaltool'
218
+ sourcePath : ' $(System.ArtifactsDirectory)\signed\globaltool\* '
219
219
azureSubscription : ' $(GlobalToolSubscription)'
220
220
Destination : AzureBlob
221
221
storage : ' $(GlobalToolStorageAccount)'
You can’t perform that action at this time.
0 commit comments