Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.03 KB

RELEASING.md

File metadata and controls

37 lines (26 loc) · 1.03 KB

Releasing

  1. Submit a PR with the following changes (see e.g. #20):

    • Update version in gradle.properties to the release version.
    • Update the CHANGELOG.md. Update the unreleased header to be the release version and make a new unreleased header.
    • Update the README.md as necessary to reflect the new release version.
  2. Once merged, pull latest into main locally. Tag version:

    $ git tag -am "Version X.Y.Z" X.Y.Z
    
  3. Push tags

    git push --tags
    
  4. Build (generator)

    $ ./gradlew build
    
  5. Create GitHub Release

    1. Visit the New Releases page.
    2. Supply release version and changelog link
    3. Upload generator/build/libs/twirp-kmp-generator-X.Y.Z.jar artifact.
  6. Publish (runtime)

    $ ./gradlew publish
    
  7. Visit Sonatype Nexus and promote the artifact. (Close the staging repository, then Release it)