release
Create a new release. Bumps version, updates changelog, creates fastlane changelog, commits, tags, and pushes.
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
Release Skill
Create a new release for MateDroid.
Pre-flight Checks
- Ensure you're on the
mainbranch with no uncommitted changes - Verify the
[Unreleased]section inCHANGELOG.mdhas content to release
Release Process
1. Determine Version
Ask the user what type of release:
- patch (0.10.0 → 0.10.1): Bug fixes only
- minor (0.10.0 → 0.11.0): New features, backwards compatible
- major (0.10.0 → 1.0.0): Breaking changes (requires explicit user confirmation)
2. Update Version in build.gradle.kts
Edit app/build.gradle.kts:
- Increment
versionCodeby 1 - Update
versionNameto the new version
3. Update CHANGELOG.md
- Change
## [Unreleased]to## [X.Y.Z] - YYYY-MM-DD(today's date) - Add a new empty
## [Unreleased]section above it - Add the new version link at the bottom:
[X.Y.Z]: https://github.com/vide/matedroid/compare/vPREVIOUS...vX.Y.Z - Update the
[Unreleased]link to compare from the new version
4. Create Fastlane Changelog (English)
Create fastlane/metadata/android/en-US/changelogs/{versionCode}.txt with the release notes.
Format (max 500 chars for Play Store):
More human readable and engaging new features and major fixes overview. Do NOT mention external contributors here.
Added:
- Feature 1
- Feature 2
Changed:
- Change 1
Fixed:
- Fix 1
Keep it concise - this appears in Play Store and F-Droid. Make the opening text engaging without it being too verbose or showy.
5. Translate Changelogs (Automatic)
Automatically translate the English changelog and write the translations to:
-
fastlane/metadata/android/it-IT/changelogs/{versionCode}.txt(Italian) -
fastlane/metadata/android/es-ES/changelogs/{versionCode}.txt(Spanish) -
fastlane/metadata/android/ca-ES/changelogs/{versionCode}.txt(Catalan)
Do this immediately after creating the English changelog - no user interaction needed.
Translation guidelines:
- Keep the same structure and format as the English version
- Do NOT translate technical terms: AC, DC, kW, kWh, API, etc.
- Keep proper nouns unchanged: MateDroid, Teslamate, Tesla, GitHub, etc.
- Maintain the same tone: engaging but concise
- Each translation must also respect the 500 character limit
6. Commit and Tag
git add -A
git commit -m "chore: release vX.Y.Z"
git tag -a vX.Y.Z -m "Release X.Y.Z"
7. Push
git push origin main
git push origin vX.Y.Z
8. Create GitHub Release
Use gh release create vX.Y.Z --title "vX.Y.Z" --notes-file - with the changelog content as the one in Fastlane.
Mention external contributors, highlighting new ones and giving credit.
The GitHub Actions workflow will automatically:
- Build APK and AAB
- Upload to GitHub release
- Deploy to Google Play (alpha track)
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-02-04
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!