Skip to content

Latest commit

 

History

History
43 lines (37 loc) · 1.46 KB

publish.md

File metadata and controls

43 lines (37 loc) · 1.46 KB

Publish

Publish to Maven Central

You must have these properties in your '~/.gradle/gradle.properties'

ossrhUsername=<your sonatype username>
ossrhPassword=<your sonatype password>
signing.keyId=<sign key id>
signing.password=<sign key password>
signing.secretKeyRingFile=<sign key ring file> ex. "/home/<user>/.gnupg/secring.gpg"

Register project / package (one time setup)

Create JIRA ticket at https://issues.sonatype.org/

Ticket: https://issues.sonatype.org/browse/OSSRH-62510

Publish to Sonatype

  1. Update version number (remove SNAPSHOT)
  2. Publish to staging area
    gradle clean :kert-compiler:publish -PtargetOs=linux -PtargetArch=x86_64
    gradle clean :kert-compiler:publish -PtargetOs=windows -PtargetArch=x86_64
    gradle clean :kert-compiler:publish -PtargetOs=osx -PtargetArch=x86_64
    gradle :kert-http:publish
    gradle :kert-grpc:publish
  3. Bump version number (add SNAPSHOT back)

Use this to check file format for the compiler

file kert-grpc-compiler/build/exe/protoc-gen-grpc-kert

Promote to Maven Central