Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.46 KB

RELEASE.md

File metadata and controls

34 lines (28 loc) · 1.46 KB

Release

  • Go to GitHub actions : https://github.com/ufoss-org/kolog/actions
  • Execute 'Publish on demand' (no need for build, because it builds before publishing, so it would fail before doing anything important)
  • When finished, go to staging repos : https://s01.oss.sonatype.org/#stagingRepositories (ufoss account)
    • do close , refresh
    • then release
    • refresh again after several seconds, repo has gone -> it's released on maven central
  • do release task locally (for minor release, press Enter for suggested versions : release version = current, new version = current + 1)

Publishing

Generate a User Token in https://s01.oss.sonatype.org (ufoss account)

Signing

Inspired by this Followed this link for CI deploy

Step 1: Extract the secret key

gpg --list-secret-keys --keyid-format LONG
gpg --export-secret-keys --armor {your_keyId}

Step 2: Store the extracted GPG key and passphrase as secrets

Follow this

Step 3: use env in gradle build

Follow this

Deprecated local release

  • verify the current version you want to release in gradle.properties
  • verify you are using SSH with GIT
  • use Temurin 11 as project JDK, but Temurin 17 for Gradle
  • do publish task