fix typos

This commit is contained in:
David Refoua 2022-10-17 21:11:37 +03:30
parent 1d330e7330
commit 1e34c885f3

View File

@ -31,7 +31,7 @@ jobs:
- run: | - run: |
$currentVersion = (Get-Content .\vendor\sources.json | ConvertFrom-Json) $currentVersion = (Get-Content .\vendor\sources.json | ConvertFrom-Json)
. .\scripts\update.ps1 -verbose . .\scripts\update.ps1 -verbose
Set-GWVariable -Name COUNT_UPDATED -Value $count Set-GHVariable -Name COUNT_UPDATED -Value $count
$newVersion = (Get-Content .\vendor\sources.json | ConvertFrom-Json) $newVersion = (Get-Content .\vendor\sources.json | ConvertFrom-Json)
$listUpdated = "" $listUpdated = ""
$updateMessage = "" $updateMessage = ""
@ -42,8 +42,8 @@ jobs:
$updateMessage += "**$($s.name)** ($oldVersion → **$($s.version)**)<br/>" $updateMessage += "**$($s.name)** ($oldVersion → **$($s.version)**)<br/>"
} }
} }
Set-GWVariable -Name $listUpdated -Value $listUpdated.Trim(', ') Set-GHVariable -Name $listUpdated -Value $listUpdated.Trim(', ')
Set-GWVariable -Name UPDATE_MESSAGE -Value $updateMessage Set-GHVariable -Name UPDATE_MESSAGE -Value $updateMessage
- uses: peter-evans/create-pull-request@v4 - uses: peter-evans/create-pull-request@v4
with: with: