This document explains how to use the automated release process for the Mod Menu application.
Our project uses GitHub Actions to automatically build and publish APKs. When you push a new version tag, GitHub Actions will:
- Build the APK
- Rename it to include the version number
- Generate a changelog from commit messages
- Create a GitHub release with both APKs attached
We've created a helper script that makes releasing a new version easy:
./scripts/create_release.sh <version_number>For example, to release version 1.8:
./scripts/create_release.sh 1.8This will:
- Update the version in build.gradle
- Commit the changes
- Create a tag
- Push everything to GitHub
- Trigger the GitHub Actions workflow
If you prefer to do it manually:
- Update the
versionCodeandversionNameinapp/build.gradle - Commit the changes:
git add app/build.gradle git commit -m "Bump version to X.Y" - Create a tag:
git tag -a vX.Y -m "Release version X.Y" - Push the changes and tag:
git push && git push --tags
After pushing a tag:
- Go to your GitHub repository
- Click on "Actions" tab
- You should see the "Build and Release APK" workflow running
- Once complete, go to the "Releases" section to see your new release
If the release process fails:
- Check the workflow logs in GitHub Actions
- Verify your GitHub Personal Access Token has the correct permissions
- Ensure the scripts have execute permissions (
chmod +x scripts/*.sh)
For additional help, see GitHub's documentation on release workflows.