Skip to content

Commit 4c0e1a3

Browse files
committed
parse .p8 file content from env values
1 parent e8c8dcb commit 4c0e1a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Assets/SequenceSDK/Editor/TestflightUploadPostBuildScript.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ public void OnPostprocessBuild(BuildReport report)
2626
var keyId = Environment.GetEnvironmentVariable("APPSTORE_CONNECT_KEY_ID");
2727
var issuerId = Environment.GetEnvironmentVariable("APPSTORE_CONNECT_ISSUER_ID");
2828
var privateKey = Environment.GetEnvironmentVariable("APPSTORE_CONNECT_P8");
29+
privateKey = privateKey?.Replace("\\n", "\n");
2930

3031
var keyDir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), ".appstoreconnect/private_keys");
3132

0 commit comments

Comments
 (0)