File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -21,31 +21,27 @@ if ($null -ne $pnpcoresdk_response) {
2121 }
2222}
2323
24- # Write-host "Latest PnP PowerShell Commit hash $pnppowershell_hash" -ForegroundColor Yellow
25- # Write-Host "Stored PnP PowerShell Commit hash: $existing_pnppowershell_hash" -ForegroundColor Yellow
26- # Write-host "Latest PnP Framework Commit hash $pnpframework_hash" -ForegroundColor Yellow
27- # Write-Host "Stored PnP Framework Commit hash: $existing_pnpframework_hash" -ForegroundColor Yellow
28-
2924if ($dependencies.PnPPowershell -ne $pnppowershell_hash ) {
3025 Write-Host " PnP Powershell is newer"
31- $dependencies.PnPPowershell = $pnppowershell_hash
3226 $runPublish = $true
3327}
3428
3529if ($runPublish -eq $false -and $dependencies.PnPFramework -ne $pnpframework_hash ) {
3630 Write-Host " PnP Framework is newer"
37- $dependencies.PnPFramework = $pnppowershell_hash
3831 $runPublish = $true
3932}
4033
4134if ($runPublish -eq $false -and $dependencies.PnPCore -ne $pnpcoresdk_hash ) {
4235 Write-Host " PnP Core SDK is newer"
43- $dependencies.PnPCore = $pnpcoresdk_hash
4436 $runPublish = $true
4537}
4638
4739if ($runPublish -eq $true ) {
4840 $dependencies.Updated = Get-Date - Format " yyyyMMdd-HHmmss"
41+ $dependencies.PnPCore = $pnpcoresdk_hash
42+ $dependencies.PnPFramework = $pnppowershell_hash
43+ $dependencies.PnPPowershell = $pnppowershell_hash
44+
4945 Set-Content ./ dependencies.json - Value $ (ConvertTo-Json $dependencies ) - Force
5046
5147 $versionFileContents = Get-Content " $PSScriptRoot /../version.json" - Raw | ConvertFrom-Json
You can’t perform that action at this time.
0 commit comments