Skip to content

Commit

Permalink
hack: change catalog-template.json as well with update-version
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester committed Dec 11, 2024
1 parent 668c915 commit cf42962
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .konflux/olm-catalog/bundle/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LABEL operators.operatorframework.io.bundle.channels.v1="latest,pipelines-5.0"
LABEL \
com.redhat.component="openshift-pipelines-operator-bundle-container" \
name="openshift-pipelines/pipelines-operator-bundle-container" \
version="6.0.6-5" \
version="6.0.6-6" \
summary="Red Hat OpenShift Pipelines Operator Bundle" \
maintainer="[email protected]" \
description="Red Hat OpenShift Pipelines Operator Bundle" \
Expand Down
4 changes: 2 additions & 2 deletions .konflux/olm-catalog/index/v4.15/catalog-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
{
"entries": [
{
"name": "openshift-pipelines-operator-rh.v5.0.5-479",
"skipRange": ">=1.14.0 <5.0.5-479"
"name": "openshift-pipelines-operator-rh.v6.0.6-6",
"skipRange": ">=1.16.0 <6.0.6-6"
}
],
"name": "pipelines-main",
Expand Down
4 changes: 2 additions & 2 deletions .konflux/olm-catalog/index/v4.16/catalog-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
{
"entries": [
{
"name": "openshift-pipelines-operator-rh.v5.0.5-479",
"skipRange": ">=1.14.0 <5.0.5-479"
"name": "openshift-pipelines-operator-rh.v6.0.6-6",
"skipRange": ">=1.16.0 <6.0.6-6"
}
],
"name": "pipelines-main",
Expand Down
4 changes: 2 additions & 2 deletions .konflux/olm-catalog/index/v4.17/catalog-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
{
"entries": [
{
"name": "openshift-pipelines-operator-rh.v5.0.5-479",
"skipRange": ">=1.14.0 <5.0.5-479"
"name": "openshift-pipelines-operator-rh.v6.0.6-6",
"skipRange": ">=1.16.0 <6.0.6-6"
}
],
"name": "pipelines-main",
Expand Down
3 changes: 3 additions & 0 deletions hack/update-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ yq -i e ".versions.previous = \"$current_version\"" project.yaml

# update version and previous_version in operator-fetch-payload
sed -i "s%version=.*\\\%version=\"$new_version2\" \\\%g" .konflux/olm-catalog/bundle/Dockerfile
for v in .konflux/olm-catalog/index/v*; do
sed -i "s%$current_version%$new_version2%g" $v/catalog-template.json
done
4 changes: 2 additions & 2 deletions project.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
versions:
current: 6.0.6-5
previous: 6.0.6-4
current: 6.0.6-6
previous: 6.0.6-5
previous_range: 1.16.0
channel: pipelines-5.0
openshift:
Expand Down

0 comments on commit cf42962

Please sign in to comment.