Skip to content

Commit

Permalink
Update index-render-template-1-18.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
savitaashture committed Mar 6, 2025
1 parent 790df46 commit f4ad5d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/index-render-template-1-18.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
# Starting with OCP 4.17 we need the --migrate-level=bundle-object-to-csv-metadata flag. For rendering to older versions of OCP.
NUMERIC_VERSION=${VERSION#v} # Removes "v" prefix
if (( $(echo "$NUMERIC_VERSION >= 4.17" | bc -l) )); then
opm alpha render-template basic .konflux/olm-catalog/index/${{matrix.version}}/catalog-template.json [--migrate-level=bundle-object-to-csv-metadata] > .konflux/olm-catalog/index/${{matrix.version}}/catalog/openshift-pipelines-operator-rh/catalog.json
opm alpha render-template basic .konflux/olm-catalog/index/${{matrix.version}}/catalog-template.json --migrate-level=bundle-object-to-csv-metadata > .konflux/olm-catalog/index/${{matrix.version}}/catalog/openshift-pipelines-operator-rh/catalog.json
else
opm alpha render-template basic .konflux/olm-catalog/index/${{matrix.version}}/catalog-template.json > .konflux/olm-catalog/index/${{matrix.version}}/catalog/openshift-pipelines-operator-rh/catalog.json
fi
Expand Down

0 comments on commit f4ad5d2

Please sign in to comment.