- Run
./bump_versions.sh $OLD_VERSION $NEW_VERSION
and commit the changes. - Create a new Release in GitHub. A GitHub Action is automatically triggered and builds and publishes the artifacts to
- Maven
- IntelliJ Plugin marketplace
- TODO: also automate website generation (https://facebookincubator.github.io/ktfmt/) and the AWS Lambda that powers it. For now, you must clone the repo locally, and manually run some steps.
- pushd online_formatter; ./build_and_deploy.sh; popd
- Credentials should be configured using https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#credentials
- Follow instructions in website/README.md
- pushd online_formatter; ./build_and_deploy.sh; popd