build: make sure signing key's parent directory always exists

This commit is contained in:
Akash Yadav
2023-11-09 01:42:27 +05:30
parent a311a1efbd
commit 1a0478df47
@@ -40,6 +40,8 @@ object SigningKeyUtils {
return
}
signingKey.parentFile.mkdirs()
getEnvOrProp(key = KEY_BIN, warn = false)?.also { bin ->
val contents = Base64.getDecoder().decode(bin)
signingKey.writeBytes(contents)