Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 1.69 KB

DEPLOY.md

File metadata and controls

34 lines (30 loc) · 1.69 KB

Steps to deploy

  1. (Optional) Follow the guide in REGENERATE.md if you want to regenerate the full client code (e.g. refreshing with new API endpoints)
    1. If necessary update the dependencies manually OR
    2. Regenerate and update the build.gradle file.
      1. Before generating the client code, remove the build.gradle from the .openapi-generator-ignore file.
      2. In the newly generated build.gradle, set up the signing and publication task as before the regeneration.
      3. Set up the JavaDoc and Source generation withJavadocJar() and withSourcesJar() extensions.
      4. After generation, add the build.gradle back to the ignore file.
  2. Update the version in the build.gradle file.
  3. Commit & Push

Publish

Use the same version for the git tag as in the properties file.

  • Via git tag

    1. Create a new version tag.
      git tag v[MAJOR].[MINOR].[PATCH]

      Example: git tag v2.5.5

    2. Push the tag.
      git push origin --tags
  • Via Github release

    Create a new Github release with a new version tag and release notes.

Sync

  1. Log in to Maven Repository and follow these steps:
    1. Select Staging Repositories and select the version you published.
    2. Click Close. The process might take some time, click Refresh to get the latest state.
    3. When the repo is closed click Release, tick the Automatically drop when released option.
  2. Make sure the new version is available on Maven Central.