Skip to content

Files

41 lines (32 loc) · 1.81 KB

RELEASE.md

File metadata and controls

41 lines (32 loc) · 1.81 KB

Release new version

Preparation

  • fetch necessary information from here
  • add private key file to the project root named as sonatype_emartech_gpg_private.key
  • set required environment variables
    • cp .env.example .env
    • update passphrase
    • update package version

Create bundle.jar

make bundle

Upload bundle.jar

  • Log in to Nexus with these credentials
  • Upload bundle.jar at staging upload
    • change upload mode to "Artifact Bundle"
    • select bundle.jar in the "Select Bundle to Upload" dialogue
    • click "Upload Bundle"
  • Release new bundle
    • go to staging repositories
    • wait a bit until the "release" button becomes available
    • press release on the staging repo created for the bundle
    • wait until is it automatically deployed to maven central (it can take up to 2 hours to appear in MC)

More info