Commit bb4221f
committed
fix: gracefully handle invalid Apple certificate in release builds
When APPLE_CERTIFICATE secret contains invalid data, the security
import fails and breaks the entire build. Now validates the decoded
file and falls back to ad-hoc signing if import fails, instead of
aborting the release.
Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>1 parent c08248b commit bb4221f
1 file changed
Lines changed: 11 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
135 | 141 | | |
136 | 142 | | |
137 | 143 | | |
138 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
139 | 149 | | |
140 | 150 | | |
141 | 151 | | |
| |||
0 commit comments