mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-04 20:24:02 +00:00
renamed update files so that protoc is run before CRD update.
If generating protoc go files from scratch, `make update` fails if CRD generation happens first, since the protoc-generated files are imported by the api go files. protoc generation needs to happen earlier. Signed-off-by: Scott Seago <sseago@redhat.com>
This commit is contained in:
@@ -15,4 +15,4 @@
|
||||
# limitations under the License.
|
||||
|
||||
HACK_DIR=$(dirname "${BASH_SOURCE[0]}")
|
||||
"${HACK_DIR}"/update-fmt.sh --verify
|
||||
"${HACK_DIR}"/update-1fmt.sh --verify
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
HACK_DIR=$(dirname "${BASH_SOURCE}")
|
||||
|
||||
${HACK_DIR}/update-generated-crd-code.sh
|
||||
${HACK_DIR}/update-3generated-crd-code.sh
|
||||
|
||||
# ensure no changes to generated CRDs
|
||||
if ! git diff --exit-code config/crd/v1/crds/crds.go >/dev/null; then
|
||||
|
||||
@@ -27,7 +27,7 @@ cleanup() {
|
||||
}
|
||||
|
||||
echo "Verifying generated Github issue template"
|
||||
${HACK_DIR}/update-generated-issue-template.sh ${OUT_TMP_FILE} > /dev/null
|
||||
${HACK_DIR}/update-4generated-issue-template.sh ${OUT_TMP_FILE} > /dev/null
|
||||
output=$(echo "`diff ${ISSUE_TEMPLATE_FILE} ${OUT_TMP_FILE}`")
|
||||
|
||||
if [[ -n "${output}" ]] ; then
|
||||
|
||||
Reference in New Issue
Block a user