πͺ Store Deployment Automation Setup
Setting up automated deployment pipelines for distributing Maraikka to various app stores alongside direct GitHub releases.
π― Objective
Implement automated submission and deployment to:
- π Mac App Store (macOS)
- πͺ Microsoft Store (Windows)
- π¦ Linux Package Repositories (Snap Store, Flathub)
π Prerequisites & Setup Required
Apple App Store Connect
Microsoft Partner Center
Linux Package Repositories
π§ Technical Implementation
1. Repository Secrets Configuration
Add these secrets to GitHub repository:
Apple App Store
APPLE_API_KEY_ID=ABC123DEF4
APPLE_API_KEY_ISSUER_ID=12345678-1234-1234-1234-123456789012
APPLE_API_PRIVATE_KEY=-----BEGIN PRIVATE KEY-----...-----END PRIVATE KEY-----
APPLE_DEVELOPER_TEAM_ID=TEAM123456
MAC_APP_STORE_CERT=<base64-encoded-certificate>
MAC_APP_STORE_CERT_PASSWORD=certificate-password
Microsoft Store
MS_PARTNER_CENTER_CLIENT_ID=12345678-1234-1234-1234-123456789012
MS_PARTNER_CENTER_CLIENT_SECRET=client-secret-value
MS_PARTNER_CENTER_TENANT_ID=12345678-1234-1234-1234-123456789012
MS_STORE_PACKAGE_IDENTITY=MaraikkaLabs.Maraikka_1234567890abc
Linux Repositories
SNAPCRAFT_TOKEN=snapcraft-token-here
FLATHUB_GPG_PRIVATE_KEY=gpg-private-key-here
FLATHUB_GPG_PASSPHRASE=gpg-passphrase-here
2. Workflow Enhancements
Extend .github/workflows/release.yml to include store deployment steps:
Mac App Store Deployment
Microsoft Store Deployment
Linux Store Deployment
3. Build Configuration Updates
Update package.json electron-builder config:
Mac App Store specific:
"mas": {
"category": "public.app-category.utilities",
"hardenedRuntime": false,
"entitlements": "assets/entitlements.mas.plist",
"entitlementsInherit": "assets/entitlements.mas.inherit.plist",
"provisioningProfile": "assets/embedded.provisionprofile"
}
Microsoft Store specific:
"appx": {
"applicationId": "MaraikkaApp",
"identityName": "MaraikkaLabs.Maraikka",
"publisher": "CN=Maraikka Labs",
"publisherDisplayName": "Maraikka Labs"
}
π Implementation Checklist
Phase 1: Account Setup
Phase 2: Certificate & Profile Management
Phase 3: CI/CD Integration
Phase 4: Testing & Validation
Phase 5: Monitoring & Maintenance
π§ͺ Testing Strategy
Store-Specific Testing
Automation Testing
π Documentation Needed
β οΈ Considerations & Constraints
Store Review Processes
- Mac App Store: 24-48 hours review time
- Microsoft Store: 3-7 days certification process
- Linux Stores: Varies by repository
Store-Specific Requirements
- Mac App Store: Requires app sandboxing, may limit file access
- Microsoft Store: Requires MSIX packaging, may need UWP compliance
- Linux: Package format requirements vary by distribution
Cost Implications
- Apple Developer Program: $99/year
- Microsoft Partner Center: One-time $19 registration
- Code signing certificates: $200-400/year
π― Success Metrics
π Next Actions
- Immediate: Set up developer accounts and gather credentials
- Week 1: Configure certificates and API access
- Week 2: Implement store deployment workflows
- Week 3: Test automation with beta releases
- Week 4: Deploy first automated store release
Priority: High
Estimated Effort: 2-3 weeks
Dependencies: Developer account approvals, certificate generation
Risk Level: Medium (store review processes can be unpredictable)
πͺ Store Deployment Automation Setup
Setting up automated deployment pipelines for distributing Maraikka to various app stores alongside direct GitHub releases.
π― Objective
Implement automated submission and deployment to:
π Prerequisites & Setup Required
Apple App Store Connect
Microsoft Partner Center
Linux Package Repositories
π§ Technical Implementation
1. Repository Secrets Configuration
Add these secrets to GitHub repository:
Apple App Store
Microsoft Store
Linux Repositories
2. Workflow Enhancements
Extend
.github/workflows/release.ymlto include store deployment steps:Mac App Store Deployment
altoolorxcrun altoolfor automated uploadMicrosoft Store Deployment
Linux Store Deployment
3. Build Configuration Updates
Update
package.jsonelectron-builder config:Mac App Store specific:
Microsoft Store specific:
π Implementation Checklist
Phase 1: Account Setup
Phase 2: Certificate & Profile Management
Phase 3: CI/CD Integration
Phase 4: Testing & Validation
Phase 5: Monitoring & Maintenance
π§ͺ Testing Strategy
Store-Specific Testing
Automation Testing
π Documentation Needed
Store Review Processes
Store-Specific Requirements
Cost Implications
π― Success Metrics
π Next Actions
Priority: High
Estimated Effort: 2-3 weeks
Dependencies: Developer account approvals, certificate generation
Risk Level: Medium (store review processes can be unpredictable)