ktfmt VersionUpdate bump_versions.sh with the version information, and comment out its exit command.
Run ./bump_versions.sh.
Obtain the private key used to sign ktfmt releases, as well as its passphrase.
Make sure your ~/.m2/settings.xml is:
<settings>
<servers>
<server>
<id>ossrh</id>
<username>your-jira-id</username>
<password>your-jira-pwd</password>
</server>
</servers>
</settings>
Run mvn -Prelease clean deploy
Enter the passphrase when requested.
Create a new release at https://github.com/facebookincubator/ktfmt/releases . Use a previous release as a template.
Upload release files by dragging them from core/target/.
This is terribly manual. We'll hopefully soon improve this using GitHub Actions.