Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Stabilize CocoaPods lockfile verification

Neeraj Gupta2aba505a3f4b
diff --git a/.github/workflows/mobile-podfile-lock.yml b/.github/workflows/mobile-podfile-lock.yml
index 5d875cce50..bf1fbbcf77 100644
--- a/.github/workflows/mobile-podfile-lock.yml
+++ b/.github/workflows/mobile-podfile-lock.yml
@@ -35,7 +35,9 @@ jobs:
- name: Verify Podfile.lock is current
run: |
+ pod_version="$(pod --version)"
for app in photos auth locker; do
echo "Checking $app"
+ sed -i '' "s/^COCOAPODS: .*/COCOAPODS: $pod_version/" "mobile/apps/$app/ios/Podfile.lock"
( cd "mobile/apps/$app/ios" && pod install --deployment )
done