File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -209,7 +209,10 @@ jobs:
209209 git branch rabbitmq-cluster-operator-$BUNDLE_VERSION
210210 git checkout rabbitmq-cluster-operator-$BUNDLE_VERSION
211211
212+ REPLACE_VERSION=$(ls -1v ./operators/rabbitmq-cluster-operator/ | tail -2 | head -1)
213+
212214 cp -v -fR olm-package-ci/"$BUNDLE_VERSION" ./operators/rabbitmq-cluster-operator/
215+ sed -i -e "s/replaces: null/replaces: rabbitmq-cluster-operator.v$REPLACE_VERSION/g" ./operators/rabbitmq-cluster-operator/$BUNDLE_VERSION/manifests/rabbitmq.clusterserviceversion.yaml
213216 sed -i -e "s/latest/$BUNDLE_VERSION/g" ./operators/rabbitmq-cluster-operator/$BUNDLE_VERSION/manifests/rabbitmq.clusterserviceversion.yaml
214217 git add operators/rabbitmq-cluster-operator
215218 git commit -s -m "RabbitMQ Operator release $BUNDLE_VERSION"
You can’t perform that action at this time.
0 commit comments