diff --git a/docs/demos/coast-to-coast-q4-2023.md b/docs/demos/coast-to-coast-q4-2023.md index f108eff3c..b6634dfc2 100644 --- a/docs/demos/coast-to-coast-q4-2023.md +++ b/docs/demos/coast-to-coast-q4-2023.md @@ -114,8 +114,8 @@ FROM scratch ADD manifests /manifests EOF -versions="v1.0.0-alpha1 v1.0.0 v1.0.1 v1.1.0 v2.0.0" -for version in "$versions" +versions=( v1.0.0-alpha1 v1.0.0 v1.0.1 v1.1.0 v2.0.0 ) +for version in "${versions[@]}" do make generate manifests make docker-build IMG="quay.io/operator-framework/coastal:${version}" @@ -250,7 +250,7 @@ EOF - Using `yq`, update the channel to include this bundle as an entry ```sh -yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.0"}]' index.yaml +yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.0"}]' -i catalog/index.yaml ``` - Build and push the catalog image @@ -299,7 +299,7 @@ EOF - Using `yq`, update the channel to include this bundle as an entry ```sh -yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.1.0"}]' index.yaml +yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.1.0"}]' -i catalog/index.yaml ``` - Build and push the catalog image @@ -336,7 +336,7 @@ EOF - Using `yq`, update the channel to include this bundle as an entry ```sh -yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.1"}]' index.yaml +yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v1.0.1"}]' -i catalog/index.yaml ``` - Build and push the catalog image @@ -397,7 +397,7 @@ EOF - Using `yq`, update the channel to include this bundle as an entry ```sh -yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v2.0.0"}]' index.yaml +yq eval 'select(.schema=="olm.channel" and .name == "stable").entries += [{"name" : "coastal.v2.0.0"}]' -i catalog/index.yaml ``` - Build and push the catalog image