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 23, 2023
1 parent a8d9603 commit 6ae062f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions hack/checkCreatedAtAnnotation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,10 @@ check_file=$(expr "$changed_files" == "M bundle/manifests/sonataflow-operator.cl
if [[ "$check_file" == "0" ]] ; then
##@TODO
check_lines=$(git diff HEAD --no-ext-diff --unified=0 --exit-code -a --no-prefix | grep "^\+")
printf $check_lines
var="+++ bundle/manifests/sonataflow-operator.clusterserviceversion.yaml + createdAt:"
if [[ $check_lines = $var* ]] ; then
changed_files=''
printf "FOUND"
echo "FOUND"
fi
echo $check_lines
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 6ae062f

Please sign in to comment.