Skip to content

Commit e148b44

Browse files
committed
Bump php-sdk version to 2.6.0
1 parent 5f13d46 commit e148b44

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

extension/BuildPhpExtension/private/Get-PhpSdk.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

php/BuildPhp/private/Get-PhpSdk.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)