--- name: android-release-notes description: Update the Android release notes and versionName for the current ticket, and register the branch for distribution if the repo needs it. Use when the user asks to bump the version, add the ticket to release notes, or prepare a branch for distribution, or as stage 06 of the Android workflow. --- # Release notes and version — stage 06 Read `shared/config.md` and `shared/ticket-file.md`, then `reference.md` here. > **Finding these files:** they live in the **plugin root** — the nearest ancestor directory of > this skill file that contains `plugin.json`. Locate that directory first, then read > `/shared/.md`. They are not in the repository you are working in, and not > under `skills/`. If you cannot find them, say so and stop rather than continuing without them. 1. **Resolve the ticket key**: argument → branch name → ask. 2. **Release notes**: apply `release_notes.mode` to `release_notes.file`, using ``. 3. **Version**: apply `versioning.rule` to `versionName` in `build.gradle_file`. **Never touch `versionCode`.** 4. **Register the branch** in `distribution.register_branch_in`, if that key names a workflow. 5. **Report** every file you changed, before and after. **Stage nothing.** Refuse to run on a protected branch: these edits belong on the working branch. If `HEAD` is on one, say so and point at `/android-branch`.