File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
extension/BuildPhpExtension/private Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ function Get-PhpSdk {
77 param (
88 )
99 begin {
10- $sdkVersion = " 2.5 .0"
11- $url = " https://github.com/php/php-sdk-binary-tools/archive/php-sdk- $sdkVersion .zip"
10+ $sdkVersion = " php-sdk-2.6 .0"
11+ $url = " https://github.com/php/php-sdk-binary-tools/archive/$sdkVersion .zip"
1212 }
1313 process {
1414 Add-StepLog " Adding PHP SDK"
@@ -20,7 +20,7 @@ function Get-PhpSdk {
2020 $currentDirectory = (Get-Location ).Path
2121 $sdkZipFilePath = Join-Path $currentDirectory php- sdk.zip
2222 [System.IO.Compression.ZipFile ]::ExtractToDirectory($sdkZipFilePath , $currentDirectory )
23- Rename-Item - Path php- sdk- binary- tools- php - sdk - $sdkVersion php- sdk
23+ Rename-Item - Path php- sdk- binary- tools- $sdkVersion php- sdk
2424
2525 $sdkDirectoryPath = Join-Path $currentDirectory php- sdk
2626 $sdkBinDirectoryPath = Join-Path $sdkDirectoryPath bin
Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ function Get-PhpSdk {
77 param (
88 )
99 begin {
10- $sdkVersion = " 2.5 .0"
11- $url = " https://github.com/php/php-sdk-binary-tools/archive/php-sdk- $sdkVersion .zip"
10+ $sdkVersion = " php-sdk-2.6 .0"
11+ $url = " https://github.com/php/php-sdk-binary-tools/archive/$sdkVersion .zip"
1212 }
1313 process {
1414 Get-File - Url $url - OutFile php- sdk.zip
1515 Expand-Archive - Path php- sdk.zip - DestinationPath .
16- Rename-Item - Path php- sdk- binary- tools- php - sdk - $sdkVersion php- sdk
16+ Rename-Item - Path php- sdk- binary- tools- $sdkVersion php- sdk
1717 }
1818 end {
1919 }
You can’t perform that action at this time.
0 commit comments