Commit 15077ba
authored
ci(release): restrict OperatorHub PR to stable releases and add replaces field (cloudnative-pg#10291)
The operatorhub_pr job ran whenever olm-bundle succeeded, which included
RC releases. Gate the job on `is_stable` from check-version to prevent
RC releases from creating OperatorHub PRs.
Additionally, the generated CSV was missing the `replaces` field
required by the community-operators `replaces-mode` update graph, which
caused the catalog build to fail. Automatically inject the `replaces`
field pointing to the previous version found in the community-operators
repository.
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>1 parent 5023168 commit 15077ba
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
412 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
413 | 416 | | |
414 | 417 | | |
415 | 418 | | |
| |||
431 | 434 | | |
432 | 435 | | |
433 | 436 | | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
| 440 | + | |
| 441 | + | |
| 442 | + | |
434 | 443 | | |
435 | 444 | | |
436 | 445 | | |
| |||
0 commit comments