diff --git a/src/utils/deploy/hash-fns.ts b/src/utils/deploy/hash-fns.ts index 69b501b91df..348b7e67458 100644 --- a/src/utils/deploy/hash-fns.ts +++ b/src/utils/deploy/hash-fns.ts @@ -157,6 +157,16 @@ const hashFns = async ( statusCb, tmpDir, }) + + for (const func of functionZips) { + if (!func.buildData) { + func.buildData = { + bootstrapVersion: func.bootstrapVersion, + runtimeAPIVersion: func.runtimeAPIVersion, + } + } + } + const fileObjs = functionZips.map( ({ buildData,