mirror of
https://github.com/mortaljinx/mortalfin.git
synced 2026-10-17 08:02:19 +02:00
2.6 KiB
2.6 KiB
Releasing Mortalfin
Once: your public identity
Everything you commit becomes public, with the e-mail address on each commit.
- On GitHub: Settings > Emails > tick Keep my email addresses private, and note the
...@users.noreply.github.comaddress. - In this project:
git config user.name "mortaljinx" git config user.email "<that no-reply address>" - If commits already exist with another address, rewrite them before the first push:
git rebase -r --root --exec 'git commit --amend --reset-author --no-edit' - Create
~/.mortalfin-private(outside the project) with one private word per line: your server's name, your domain, a nickname.ps5/tools/security-check.pylooks for them everywhere, and for the values inconfig.h.
Each release
- Set the version in
VERSION(1.0.0-beta.2, ...). Every release needs a new one. python3 ps5/tools/version.py --sync, then commit everything.ps5/tools/release.sh. It stops on anything of yours it finds. It ends with the zip indist/release-<version>/.- Install that zip on your console and try it before you publish: it is the build your testers get.
- Tag and push:
git tag -a 1.0.0-beta.1 -m "Mortalfin 1.0.0-beta.1" git push origin main 1.0.0-beta.1 - On GitHub: Releases > Draft a new release > choose the tag > tick This is a pre-release > attach
Mortalfin-<version>.zipandSHA256SUMS> Publish (not draft). Or with the GitHub CLI:Never replace an asset of a published release: its sha256 would no longer match. Make a new version instead.gh release create 1.0.0-beta.1 dist/release-1.0.0-beta.1/Mortalfin-1.0.0-beta.1.zip dist/release-1.0.0-beta.1/SHA256SUMS \ --prerelease --title "Mortalfin 1.0.0-beta.1" --notes-file CHANGELOG.md
The Homebrew Store
The catalog is blackbearreloaded/ps5-homebrew-catalog (rules).
- Check that
apps/PPSA99141.jsondoes not exist there (the title ID must be unique). - Fork the catalog with the mortaljinx account (the pull request must come from the account that owns the repository).
- Copy
dist/release-<version>/PPSA99141.json(written byrelease.sh) toapps/PPSA99141.jsonin your fork. - Open a pull request that changes only that file. The "Validate submission" check lists any problem.
- Later releases: the catalog opens update pull requests itself when it finds a newer GitHub release. Raise
contentVersioneach time (version.pydoes).