chore(release): fastlane for iOS and macOS release (#4685)

This commit is contained in:
Huang Xin
2026-06-20 14:40:15 +08:00
committed by GitHub
parent 353d381427
commit 89f98979e1
6 changed files with 144 additions and 1 deletions
@@ -4,3 +4,7 @@ BUNDLE_DIR=src-tauri/gen/apple/build/arm64
IPA_BUNDLE=$BUNDLE_DIR/Readest.ipa
xcrun altool --upload-app --type ios --file $IPA_BUNDLE --apiKey $APPLE_API_KEY --apiIssuer $APPLE_API_ISSUER
echo "iOS build uploaded to App Store Connect."
echo "Submit it to App Store + TestFlight with:"
echo " pnpm run submit-appstore-ios"
@@ -24,4 +24,8 @@ APP_BUNDLE=$BUNDLE_DIR/Readest.app
INSTALLER_BUNDLE=$BUNDLE_DIR/Readest.pkg
xcrun productbuild --sign "$APPLE_INSTALLER_SIGNING_IDENTITY" --component $APP_BUNDLE /Applications $INSTALLER_BUNDLE
xcrun altool --upload-app --type macos --file $INSTALLER_BUNDLE --apiKey $APPLE_API_KEY --apiIssuer $APPLE_API_ISSUER
xcrun altool --upload-app --type macos --file $INSTALLER_BUNDLE --apiKey $APPLE_API_KEY --apiIssuer $APPLE_API_ISSUER
echo "macOS build uploaded to App Store Connect."
echo "Submit it to App Store + TestFlight with:"
echo " pnpm run submit-appstore-macos"