You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Update LoopWorkspace to 3.5.0 dev Loop
* Omnipod changes
* Update submodules
* Add branch+commit to "What to Test" field in TestFlight. (#97)
Adds the branch and last commit to the "What to Test" field in TestFlight to more easily determine the version of each available option in your TestFlight is.
* update actions/checkout to v4 (#118)
* Update Gemfile.lock for Fastlane 2.223.1 (#207)
* update Browser Build features to match main branch
* update Loop: restore TestFlight expiration date
* update LibreTransmitter: add new libre 2 plus EU sensors
* update OmniXXX: pod improvements, protect against 0x31
* update LoopKit: improve visibility for options to select
* update to Fastlane 2.225.0
* update using Trio (PR 453) to automate new certificates, credit @bjornoleh
* modify time of day for automatic run, deconflict possible nuke cert from other OS apps
* update OmniXXX: fix podSuspend logic error, incorporate tryToValidateComms
* update actions to use macos 15 and Xcode_16.2
* update Loop: Adjust provisioning profile path in script for Xcode 16 compatibility
* Configure the version number in LoopWorkspace, not Loop (#241)
* Configure the version number in LoopWorkspace, not Loop
* Add VersionOverride for DIY numbering
* update Loop: version number change and UI bug fixes
* stale values could be displayed for bolus progress total dose
* stale values could be displayed for Algorithm Experiment selections
* Fix typo in testflight.md build instructions (#240)
* Update to fastlane 2.227.1 and Xcode 16.3 (#243)
* update G7SensorKit: End of session detection bugfix PR 34 (#244)
* update testflight.md, loopdocs links, generic instructions (#245)
* update testflight.md, loopdocs links, generic instructions
* fix typos in testflight.md
* Update submodules (#246)
* update G7SensorKit: Fix calibration decoding, lagged backfill processing (#35)
* update Loop: bugfixes #2163, #2230
* update LibreTransmitter: support Dependency Build Order
* update OmniKit: support Dependency Build Order
* update Loop: fix Issue 2168, modify save carb & deliver button
* disable keepalive-workflow because the repo is no longer available (#248)
* Update to 3.6.0
* update RileyLinkKit: Add build dependencies
---------
Co-authored-by: Pete Schwamb <[email protected]>
Co-authored-by: Mike Plante <[email protected]>
Co-authored-by: Bastien <[email protected]>
| # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found
# Check if ENABLE_NUKE_CERTS is not set to true when certs are valid
77
+
if [ "$CERT_STATUS" != "true" ] && [ "$ENABLE_NUKE_CERTS" != "true" ]; then
78
+
echo "::notice::🔔 Automated renewal of certificates is disabled because the repository variable ENABLE_NUKE_CERTS is not set to 'true'."
79
+
fi
80
+
# Check if ENABLE_NUKE_CERTS is not set to true when certs are not valid
81
+
if [ "$CERT_STATUS" = "true" ] && [ "$ENABLE_NUKE_CERTS" != "true" ]; then
82
+
echo "::error::❌ No valid distribution certificate found. Automated renewal of certificates was skipped because the repository variable ENABLE_NUKE_CERTS is not set to 'true'."
83
+
exit 1
84
+
fi
85
+
# Check if vars.FORCE_NUKE_CERTS is not set to true
86
+
if [ vars.FORCE_NUKE_CERTS = "true" ]; then
87
+
echo "::warning::‼️ Nuking of certificates was forced because the repository variable FORCE_NUKE_CERTS is set to 'true'."
88
+
fi
89
+
# Nuke Certs if needed, and if the repository variable ENABLE_NUKE_CERTS is set to 'true', or if FORCE_NUKE_CERTS is set to 'true', which will always force certs to be nuked
set -e # Set error immediately after this step if error occurs
108
+
bundle exec fastlane nuke_certs
109
+
- name: Recreate Distribution certificate after nuking
110
+
run: |
111
+
set -e # Set error immediately after this step if error occurs
112
+
bundle exec fastlane certs
113
+
- name: Add success annotations for nuke and certificate recreation
114
+
if: ${{ success() }}
115
+
run: |
116
+
echo "::warning::⚠️ All Distribution certificates and TestFlight profiles have been revoked and recreated."
117
+
echo "::warning::❗️ If you have other apps being distributed by GitHub Actions / Fastlane / TestFlight that does not renew certificates automatically, please run the '3. Create Certificates' workflow for each of these apps to allow these apps to be built."
118
+
echo "::warning::✅ But don't worry about your existing TestFlight builds, they will keep working!"
elif ! echo "$FASTLANE_KEY" | openssl pkcs8 -nocrypt >/dev/null; then
179
179
failed=true
180
180
echo "::error::The FASTLANE_KEY secret is set but invalid. Verify that you copied it correctly from the API Key file (*.p8) you downloaded and try again."
181
-
elif ! bundle exec fastlane validate_secrets 2>&1 |tee fastlane.log; then
181
+
elif ! (bundle exec fastlane validate_secrets 2>&1 || true) | tee fastlane.log; then # ignore "fastlane validate_secrets" errors and continue on errors without annotating an exit code
182
182
if grep -q "bad decrypt" fastlane.log; then
183
183
failed=true
184
184
echo "::error::Unable to decrypt the Match-Secrets repository using the MATCH_PASSWORD secret. Verify that it is set correctly and try again."
echo "::error::Unable to create a valid authorization token for the App Store Connect API. Verify that the latest developer program license agreement has been accepted at https://developer.apple.com/account (review and accept any updated agreement), then wait a few minutes for changes to propagate and try again."
188
-
elif ! grep -q -e "No code signing identity found" -e "Could not install WWDR certificate" fastlane.log; then
189
-
failed=true
190
-
echo "::error::Unable to create a valid authorization token for the App Store Connect API. Verify that the FASTLANE_ISSUER_ID, FASTLANE_KEY_ID, and FASTLANE_KEY secrets are set correctly and try again."
187
+
echo "::error::❗️ Verify that the latest developer program license agreement has been accepted at https://developer.apple.com/account (review and accept any updated agreement), then wait a few minutes for changes to take effect and try again."
188
+
elif grep -q "Your certificate .* is not valid" fastlane.log; then
189
+
echo "::notice::Your Distribution certificate is invalid or expired. Automated renewal of the certificate will be attempted."
0 commit comments