Skip to content

Commit 9fbb7a3

Browse files
Exclude RoleBinding from sample-strategies.yaml
Signed-off-by: Sascha Schwarze <schwarzs@de.ibm.com>
1 parent 19dc19c commit 9fbb7a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hack/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ KO_DOCKER_REPO="${IMAGE_HOST}/${IMAGE_NAMESPACE}" GOFLAGS="${GO_FLAGS} -tags=ppr
3535

3636
# Bundle the sample cluster build strategies, remove namespace strategies first
3737
echo "[INFO] Bundling sample build strategies"
38-
find samples/v1beta1/buildstrategy -type f -print0 | xargs -0 grep -l "kind: BuildStrategy" | xargs rm -f
38+
find samples/v1beta1/buildstrategy -type f -print0 | xargs -0 grep -l -e "kind: BuildStrategy" -e "kind: RoleBinding" | xargs rm -f
3939
KO_DOCKER_REPO=dummy ko resolve --recursive --filename samples/v1beta1/buildstrategy/ > sample-strategies.yaml
4040
git restore samples/v1beta1/buildstrategy

0 commit comments

Comments
 (0)