This is a template containing GitHub actions for releasing Magisk modules and generate update JSONs (to support update through the Magisk App)
- Create a repository from this template
- Add all your magisk module code (you can delete every file except those in .github/)
- Add a
updateJson=https://github.com/<OWNER>/<REPO>/releases/latest/download/update.json
line in your module.prop file - Fill .github/config.prop with your
CHANGELOG
file path and the list of files that should be excluded from the .zip archive. Example config.prop:
changelog=CHANGELOG # Path to your CHANGELOG file, relative to repo root
zip_exclude=CHANGELOG # List of files that should NOT be included in the .zip module (NOTE: .github is automatically excluded)
- Commit your changes and make a release with
git tag <VERSION>