xref: /aosp_15_r20/external/ktfmt/RELEASING.md (revision 5be3f65c8cf0e6db0a7e312df5006e8e93cdf9ec)
1# Releasing a New `ktfmt` Version
2
31. Run `./bump_versions.sh $OLD_VERSION $NEW_VERSION` and commit the changes.
42. Create a new Release in GitHub. A GitHub Action is automatically triggered and builds and publishes the artifacts to
5    1. Maven
6    2. IntelliJ Plugin marketplace
73. 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.
8    1. pushd online_formatter; ./build_and_deploy.sh; popd
9        1. Credentials should be configured using https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#credentials
10    2. Follow instructions in website/README.md
11