Skip to content
Thomas Heigl edited this page Apr 11, 2021 · 4 revisions

Prerequisites

A GPG key is required for signing the artifacts. See https://central.sonatype.org/pages/working-with-pgp-signatures.html.

How To Release

  1. On latest master perform a mvn release:
    1. mvn clean
    2. mvn release:clean
    3. mvn release:prepare
    4. mvn release:perform
  2. Publish the release via Sonatype
    1. Login at https://oss.sonatype.org/ with your sonatype username/password
    2. Go to "Staging Repositories" and select the appropriate kryo repository
    3. "Close" the repository, and when it's closed "Release" it
  3. Document the release
    1. Create the compatibility report using japi-compliance-checker:
      1. run https://github.com/lvc/japi-compliance-checker kryo-$OLDVERSION.jar kryo-$NEWVERSION.jar
      2. move the created $OLDVERSION_to_$NEWVERSION folder to compat_reports/kryo/ and git add it
    2. Update the README Recent Releases and Installation With Maven sections
    3. Describe the new release to https://github.com/EsotericSoftware/kryo/releases, and add the kryo-$NEWVERSION-all.zip from the target/ folder to the release page