diff --git a/hack/checkCreatedAtAnnotation.sh b/hack/checkCreatedAtAnnotation.sh index c17a4d165..1d5b907ff 100644 --- a/hack/checkCreatedAtAnnotation.sh +++ b/hack/checkCreatedAtAnnotation.sh @@ -16,14 +16,14 @@ changed_files=$(git status -s) printf "$changed_files" check_file=$(expr "$changed_files" == "M bundle/manifests/sonataflow-operator.clusterserviceversion.yaml") -echo "check_file" +echo "$check_file" -if [[ "check_file" == "0" ]] ; then - printf "Cheking if the createdAt annotation has changed" +if [[ "$check_file" == "0" ]] ; then + printf "Checking if the createdAt annotation has changed" ##@TODO changed_files='' diff=$(git diff bundle/manifests/sonataflow-operator.clusterserviceversion.yaml) - echo $diff + echo $diff =="+ createdAt:" else [[ -z "$changed_files" ]] || (printf "Generation has not been done on this PR. See modified files: \n$changed_files\n Did you run 'make generate-all' before sending the PR" && exit 1) fi \ No newline at end of file