Skip to content

Commit 8e3bac7

Browse files
committed
[KOGITO-9428]Update Operator SDK
Signed-off-by: desmax74 <mdessi@redhat.com>
1 parent b7055c6 commit 8e3bac7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

hack/checkCreatedAtAnnotation.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
changed_files=$(git status -s)
1717
printf "$changed_files"
1818
check_file=$(expr "$changed_files" == "M bundle/manifests/sonataflow-operator.clusterserviceversion.yaml")
19-
echo "check_file"
19+
echo "$check_file"
2020

21-
if [[ "check_file" == "0" ]] ; then
22-
printf "Cheking if the createdAt annotation has changed"
21+
if [[ "$check_file" == "0" ]] ; then
22+
printf "Checking if the createdAt annotation has changed"
2323
##@TODO
2424
changed_files=''
2525
diff=$(git diff bundle/manifests/sonataflow-operator.clusterserviceversion.yaml)
26-
echo $diff
26+
echo $diff =="+ createdAt:"
2727
else
2828
[[ -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)
2929
fi

0 commit comments

Comments
 (0)