Skip to content

Mirror releases into the Xposed Modules Repo entry#12

Merged
Xiddoc merged 2 commits into
masterfrom
claude/xposed-release-requirements-bbg0n9
Jul 2, 2026
Merged

Mirror releases into the Xposed Modules Repo entry#12
Xiddoc merged 2 commits into
masterfrom
claude/xposed-release-requirements-bbg0n9

Conversation

@Xiddoc

@Xiddoc Xiddoc commented Jul 2, 2026

Copy link
Copy Markdown
Owner

What & why

LSPosed's in-app module browser reads from the Xposed Modules Repository, not from this repo — each module has a dedicated entry repo named after its package (Xposed-Modules-Repo/com.xiddoc.playintegrityalert) that holds only a README + releases. That repository imposes rules our current release.yml doesn't satisfy on its own:

  • a release tag must be VersionCode-VersionName (e.g. 123-1.0.0), and
  • the entry repo must carry the module's README/metadata and an APK asset per release.

This PR keeps the source (and its human-friendly v1.0.0 release tags) here and adds a one-way mirror so the entry is maintained entirely from this repo.

Changes

  • .github/workflows/xposed-release.yml — on every published release (and via manual workflow_dispatch):
    • derives the compliant tag <versionCode>-<versionName>versionName from the source tag, versionCode as the commit count at that tag (the same value release.yml bakes into the APK);
    • downloads the source release's APK and publishes/refreshes a mirror release under that tag in the entry repo;
    • syncs the entry's README.md / SUMMARY / SOURCE_URL from xposed-repo/.
  • xposed-repo/ — the entry files you edit here: README.md (banner + about + usage), SUMMARY, and SOURCE_URL pointing back to this repo.

Setup required (one time)

  1. Submit the module at Xposed-Modules-Repo so maintainers create the com.xiddoc.playintegrityalert entry repo and add you as a collaborator; set its repo description to Play Integrity Alert.
  2. Add an XPOSED_REPO_TOKEN secret to this repo — a PAT with Contents read/write on the entry repo.

After that, publishing a release here mirrors it automatically.

Notes

  • Our own release.yml and its v1.0.0 tags are unchanged; the compliant tag exists only on the mirror.
  • Re-running the workflow by hand repairs the entry or pushes metadata-only edits against an existing release.

🤖 Generated with Claude Code


Generated by Claude Code

claude added 2 commits July 2, 2026 09:35
Add a workflow that mirrors each published GitHub release into the
module's entry in Xposed-Modules-Repo (com.xiddoc.playintegrityalert),
the source LSPosed's module browser reads from. It re-tags the mirror to
the required VersionCode-VersionName shape, uploads the same APK, and
syncs the entry README/SUMMARY/SOURCE_URL from the new xposed-repo/
folder — so the entry is maintained entirely from this repo while the
source stays here.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UMXydF1vt9Y1NKsncTN6gd
The entry repo already exists with the user as a collaborator. Correct
the setup notes: the XPOSED_REPO_TOKEN secret lives in this (source)
repo, and it must be a classic PAT with public_repo scope — a
fine-grained PAT can't target an org repo you only collaborate on.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UMXydF1vt9Y1NKsncTN6gd
@Xiddoc Xiddoc merged commit 91d4a8a into master Jul 2, 2026
3 checks passed
@Xiddoc Xiddoc deleted the claude/xposed-release-requirements-bbg0n9 branch July 2, 2026 12:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants