Skip to content

Commit

Permalink
[KOGITO-9428]Update Operator SDK
Browse files Browse the repository at this point in the history
Signed-off-by: desmax74 <[email protected]>
  • Loading branch information
desmax74 committed Jun 22, 2023
1 parent b7055c6 commit 8e3bac7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hack/checkCreatedAtAnnotation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8e3bac7

Please sign in to comment.