Skip to content

Commit fa7e095

Browse files
Merge pull request #1823 from SaschaSchwarze0/sascha-exclude-rolebinding
Exclude RoleBinding from sample-strategies.yaml
2 parents 19dc19c + 9fbb7a3 commit fa7e095

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hack/release.sh

+1-1
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)