diff --git a/.gitea/workflows/ios-release.yaml b/.gitea/workflows/ios-release.yaml index afbd7a5..0e7bde2 100644 --- a/.gitea/workflows/ios-release.yaml +++ b/.gitea/workflows/ios-release.yaml @@ -83,7 +83,15 @@ jobs: APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} run: | PROFILE_UUID=$(security cms -D -i $RUNNER_TEMP/profile.mobileprovision | plutil -extract UUID raw -) + PROFILE_NAME=$(security cms -D -i $RUNNER_TEMP/profile.mobileprovision | plutil -extract Name raw -) + PROFILE_BUNDLE=$(security cms -D -i $RUNNER_TEMP/profile.mobileprovision | plutil -extract Entitlements.application-identifier raw - 2>/dev/null || echo "n/a") + PROFILE_TEAM=$(security cms -D -i $RUNNER_TEMP/profile.mobileprovision | plutil -extract TeamIdentifier.0 raw -) + PROFILE_EXPIRY=$(security cms -D -i $RUNNER_TEMP/profile.mobileprovision | plutil -extract ExpirationDate raw -) echo "DEBUG: PROFILE_UUID=$PROFILE_UUID" + echo "DEBUG: PROFILE_NAME=$PROFILE_NAME" + echo "DEBUG: PROFILE_BUNDLE=$PROFILE_BUNDLE" + echo "DEBUG: PROFILE_TEAM=$PROFILE_TEAM" + echo "DEBUG: PROFILE_EXPIRY=$PROFILE_EXPIRY" echo "DEBUG: APPLE_TEAM_ID=$APPLE_TEAM_ID" echo "DEBUG: profiles dir listing:" ls ~/Library/MobileDevice/Provisioning\ Profiles/