Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 932 Bytes

RELEASING.md

File metadata and controls

41 lines (30 loc) · 932 Bytes

These notes are for the project maintainers to help with releasing artifacts to Maven Central.

One-time setup

  1. Set up ~/.m2/settings.xml with $username and $password from https://oss.sonatype.org/:
<settings>
  <servers>
    <server>
      <id>ossrh</id>
      <username>$username</username>
      <password>$password</password>
    </server>
  </servers>
</settings>
  1. Configure PGP keys locally using GnuPG (aka GPG) so that artifacts can be signed.

Every Release

  1. Make sure GPG can use TTY to get password. In bash:
export GPG_TTY=$(tty)
  1. Prepare release:
mvn release:prepare -P release-profile
  1. Check if everything went okay, then deploy:
mvn release:perform -P release-profile
  1. Update scripts/jqf-driver.sh and scripts/instrument.sh with new version numbers.

  2. Log on to the Nexus Repository Manager to close + release. Wait