-
Notifications
You must be signed in to change notification settings - Fork 7
ci: publish Android releases to Zapstore #426
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,26 @@ | ||||||||||||
| repository: https://github.com/OpenSecretCloud/Maple | ||||||||||||
|
|
||||||||||||
| # The Release workflow copies the signed APK to this path before publishing. | ||||||||||||
| release_source: ./app-universal-release.apk | ||||||||||||
|
|
||||||||||||
| name: Maple | ||||||||||||
| summary: Private AI Chat | ||||||||||||
| description: | | ||||||||||||
| Maple is a private AI chat app by OpenSecret. | ||||||||||||
|
|
||||||||||||
| Learn more at https://trymaple.ai | ||||||||||||
|
|
||||||||||||
| website: https://trymaple.ai | ||||||||||||
| license: MIT | ||||||||||||
|
|
||||||||||||
| tags: | ||||||||||||
| - ai | ||||||||||||
| - chat | ||||||||||||
| - privacy | ||||||||||||
|
|
||||||||||||
| # Use a stable icon from the repo (otherwise zsp will extract from the APK). | ||||||||||||
| icon: ./frontend/src-tauri/icons/icon.png | ||||||||||||
|
|
||||||||||||
| metadata_sources: | ||||||||||||
| - github | ||||||||||||
| - playstore | ||||||||||||
|
Comment on lines
+24
to
+26
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
If the app is not on the Play Store, consider removing
Suggested change
Prompt To Fix With AIThis is a comment left during a code review.
Path: zapstore.yaml
Line: 24:26
Comment:
**`playstore` metadata source may silently fail**
`playstore` is listed as a `metadata_source`, but the app (`cloud.opensecret.maple`) does not appear to have a public Play Store listing. If `zsp` fails to resolve Play Store metadata, it may either error out or silently fall back, producing incomplete or inconsistent release metadata.
If the app is not on the Play Store, consider removing `playstore` from `metadata_sources` to avoid unexpected behaviour:
```suggestion
metadata_sources:
- github
```
How can I resolve this? If you propose a fix, please make it concise. |
||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔴 Zapstore publish step blocks GitHub release uploads on failure
The "Publish to Zapstore" step (line 350) runs before the "Upload Android APK to Release" (line 368) and "Upload Android AAB to Release" (line 376) steps. Since there is no
continue-on-error: trueon the Zapstore step, ifzsp publishfails for any reason (network issues with Zapstore relays, invalid secret, tool bugs, etc.), the job will abort and the APK/AAB will never be uploaded to the GitHub release.Impact and Suggested Fix
This means a failure in an optional third-party distribution channel (Zapstore) would prevent the primary release artifacts (APK and AAB) from being published to GitHub Releases, breaking the entire Android release pipeline.
The fix is either:
continue-on-error: trueto the Zapstore publish step so failures don't block subsequent steps.Option 1 is preferred since it ensures the core release always completes first.
Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.