Releasing a New ktfmt Version

June 26, 2025 ยท View on GitHub

  1. Make sure to have bumped the version in a separated diff, taking care of the CHANGELOG.md file (see examples in commit history).
  2. Create a new Release in GitHub. A GitHub Action is automatically triggered and builds and publishes the artifacts to
    1. Maven
    2. IntelliJ Plugin marketplace
  3. TODO: also automate website generation (https://facebook.github.io/ktfmt/) and the AWS Lambda that powers it. For now, you must clone the repo locally, and manually run some steps.
    1. pushd online_formatter; ./build_and_deploy.sh; popd
      1. Credentials should be configured using https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#credentials
    2. Follow instructions in website/README.md