Skip to content

Commit 3909380

Browse files
committed
Revert changes not needed by isTestFlightBuild function
1 parent b292371 commit 3909380

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

Common/Models/BuildDetails.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,5 @@ class BuildDetails {
6565
var workspaceGitBranch: String? {
6666
return dict["com-loopkit-LoopWorkspace-git-branch"] as? String
6767
}
68-
69-
var isGitHubBuild: Bool? {
70-
return dict["com-loopkit-GitHub-build"] as? Bool
71-
}
7268
}
7369

Scripts/capture-build-details.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ if [ -e "${provisioning_profile_path}" ]; then
7272
profile_expire_date=$(security cms -D -i "${provisioning_profile_path}" | plutil -p - | grep ExpirationDate | cut -b 23-)
7373
# Convert to plutil format
7474
profile_expire_date=$(date -j -f "%Y-%m-%d %H:%M:%S" "${profile_expire_date}" +"%Y-%m-%dT%H:%M:%SZ")
75-
7675
plutil -replace com-loopkit-Loop-profile-expiration -date "${profile_expire_date}" "${info_plist_path}"
7776
else
7877
warn "Invalid provisioning profile path ${provisioning_profile_path}"
@@ -92,8 +91,3 @@ then
9291
fi
9392
popd . > /dev/null
9493
fi
95-
96-
# Handle github action
97-
if [ -n "$GITHUB_ACTIONS" ]; then
98-
plutil -replace com-loopkit-GitHub-build -bool true "${info_plist_path}"
99-
fi

0 commit comments

Comments
 (0)