Skip to content

Commit

Permalink
fix bug in api lifecycle generator file detection
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k committed Apr 24, 2020
1 parent bc5a303 commit d32fc4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/root/Makefile.generated_files
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ ALL_K8S_TAG_FILES := $(shell \
# // +k8s:prerelease-lifecycle-gen=true
#

# The result file, in each pkg, of deep-copy generation.
# The result file, in each pkg, of prerelease-lifecycle generation.
PRERELEASE_LIFECYCLE_BASENAME := $(GENERATED_FILE_PREFIX)prerelease-lifecycle
PRERELEASE_LIFECYCLE_FILENAME := $(PRERELEASE_LIFECYCLE_BASENAME).go

Expand All @@ -131,7 +131,7 @@ ifeq ($(DBG_MAKEFILE),1)
$(warning ***** finding all +k8s:prerelease-lifecycle-gen tags)
endif
PRERELEASE_LIFECYCLE_DIRS := $(shell \
grep --color=never -l '+k8s:prerelease-lifecycle-gen=' $(ALL_K8S_TAG_FILES) \
grep --color=never -l '+k8s:prerelease-lifecycle-gen=true' $(ALL_K8S_TAG_FILES) \
| xargs -n1 dirname \
| LC_ALL=C sort -u \
)
Expand Down

0 comments on commit d32fc4e

Please sign in to comment.