Skip to content

Commit

Permalink
Ensure that kubegenerator scripts are executable
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuatcasey committed Aug 25, 2023
1 parent 6b13987 commit 0089069
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/lib/update-codegen.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

# Copyright 2020-2022 the Pinniped contributors. All Rights Reserved.
# Copyright 2020-2023 the Pinniped contributors. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
Expand Down Expand Up @@ -119,6 +119,7 @@ echo "running go mod download in ${OUTPUT_DIR}/client/go.mod to generate a go.su

# Generate API-related code for our public API groups
echo "generating API-related code for our public API groups..."
chmod -R +x "${GOPATH}/src/k8s.io/code-generator/"
(cd apis &&
bash "${GOPATH}/src/k8s.io/code-generator/generate-groups.sh" \
"deepcopy" \
Expand Down

0 comments on commit 0089069

Please sign in to comment.