Skip to content

Commit

Permalink
fix: Add new line into annotation.yaml at the end of file (#1833)
Browse files Browse the repository at this point in the history
* fix: Add new line into annotation.yaml at the end of file

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

* Update dev resources

Signed-off-by: Anatolii Bazko <abazko@redhat.com>

---------

Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Apr 25, 2024
1 parent 30be8ca commit e007fce
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -439,7 +439,7 @@ bundle: generate manifests download-kustomize download-operator-sdk ## Generate
printf "\nLABEL com.redhat.openshift.versions=\"v4.8\"" >> $${BUNDLE_PATH}/bundle.Dockerfile

# Update annotations.yaml correspondingly to bundle.Dockerfile
printf "\n com.redhat.openshift.versions: \"v4.8\"" >> $${BUNDLE_PATH}/metadata/annotations.yaml
printf "\n com.redhat.openshift.versions: \"v4.8\"\n" >> $${BUNDLE_PATH}/metadata/annotations.yaml

# Base cluster service version file has got correctly sorted CRDs.
# They are sorted with help of annotation markers in the api type files ("api/v1" folder).
Expand Down
Expand Up @@ -100,7 +100,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che.v7.86.0-864.next
name: eclipse-che.v7.86.0-865.next
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1032,7 +1032,7 @@ spec:
minKubeVersion: 1.19.0
provider:
name: Eclipse Foundation
version: 7.86.0-864.next
version: 7.86.0-865.next
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
2 changes: 1 addition & 1 deletion bundle/next/eclipse-che/metadata/annotations.yaml
Expand Up @@ -26,4 +26,4 @@ annotations:
operators.operatorframework.io.test.mediatype.v1: scorecard+v1
operators.operatorframework.io.test.config.v1: tests/scorecard/

com.redhat.openshift.versions: "v4.8"
com.redhat.openshift.versions: "v4.8"

0 comments on commit e007fce

Please sign in to comment.