Skip to content

Commit

Permalink
chore(updatecli) update powershell to generate valid updatecli manife…
Browse files Browse the repository at this point in the history
…st for version 0.49.x (#1997)

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
  • Loading branch information
dduportal committed Apr 22, 2023
1 parent 816d28f commit b28cc61
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions updatecli/generate-manifests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ foreach ($bom in $bills) {
sources = [ordered]@{}
conditions = [ordered]@{}
targets = [ordered]@{}
pullrequests = [ordered]@{}
actions = [ordered]@{}
}

$bomVersion = $bom -replace "bom-", ""
Expand Down Expand Up @@ -131,9 +131,9 @@ foreach ($bom in $bills) {
command = "pwsh -NoProfile -File {{ requiredEnv `"GITHUB_WORKSPACE`" }}/updatecli/update-jenkins.ps1 $bomVersion"
}
}
$updateJenkinsManifest.pullrequests["jenkins"] = [ordered]@{
$updateJenkinsManifest.actions["jenkins"] = [ordered]@{
title = "Bump jenkins.version from $jenkinsVersion to {{ source `"jenkins`" }} for bom-$bomVersion"
kind = "github"
kind = "github/pullrequest"
scmid = "github"
targets = @("jenkins")
spec = [ordered]@{
Expand Down Expand Up @@ -194,7 +194,7 @@ foreach ($bom in $bills) {
sources = [ordered]@{}
conditions = [ordered]@{}
targets = [ordered]@{}
pullrequests = [ordered]@{}
actions = [ordered]@{}
}

$updatePluginsManifest.sources["plugin"] = [ordered]@{
Expand Down Expand Up @@ -232,9 +232,9 @@ foreach ($bom in $bills) {
command = "pwsh -NoProfile -File {{ requiredEnv `"GITHUB_WORKSPACE`" }}/updatecli/update-plugin.ps1 $pomPath $name"
}
}
$updatePluginsManifest.pullrequests["plugin"] = [ordered]@{
$updatePluginsManifest.actions["plugin"] = [ordered]@{
title = "Bump $name from $version to {{ source `"plugin`" }} in /bom-$bomVersion"
kind = "github"
kind = "github/pullrequest"
scmid = "github"
targets = @("plugin")
spec = [ordered]@{
Expand Down

0 comments on commit b28cc61

Please sign in to comment.