mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
fix(mobile): prepare v1.0.7 OTA release
This commit is contained in:
1 parent
2664791233
commit
db5980c9bd
16 files changed
+221
-61
No files matched your search
@@ -48,6 +48,13 @@ const releaseChannel = process.env.RELEASE_CHANNEL || 'development';
|
||||
*/
|
||||
const codeSigningDisabled = Boolean(process.env.DISABLE_CODE_SIGNING);
|
||||
|
||||
if (releaseChannel === 'production' && codeSigningDisabled) {
|
||||
throw new Error(
|
||||
'RELEASE_CHANNEL=production does not permit DISABLE_CODE_SIGNING. ' +
|
||||
'Production builds must embed the XPREM code-signing certificate and metadata.',
|
||||
);
|
||||
}
|
||||
|
||||
function assertUpdateConfigIsReal() {
|
||||
const certificatePath = path.join(__dirname, CODE_SIGNING_CERTIFICATE_PATH);
|
||||
const certificate = fs.existsSync(certificatePath)
|
||||
|
||||
Reference in new issue
Block a user