From 44b7ade4c4bcc5ec6f2ae7f91211f1507052a187 Mon Sep 17 00:00:00 2001 From: Xiaodong Wang Date: Sat, 29 Apr 2023 20:24:21 -0700 Subject: [PATCH] doc: fix the doc for publishing. --- publish.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/publish.md b/publish.md index ad2ca23..d08ef3b 100644 --- a/publish.md +++ b/publish.md @@ -23,13 +23,19 @@ Ticket: https://issues.sonatype.org/browse/OSSRH-62510 ### Publish to Sonatype 1. Update version number (remove SNAPSHOT) 1. Publish to staging area - ```shell - 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 - ``` +```shell +# Linux 64bit +gradle clean :kert-grpc-compiler:publish -PtargetOs=linux -PtargetArch=x86_64 +# Windows 64bit +gradle clean :kert-grpc-compiler:publish -PtargetOs=windows -PtargetArch=x86_64 +# Mac Intel +gradle clean :kert-grpc-compiler:publish -PtargetOs=osx -PtargetArch=x86_64 +# Mac M1/M2 +gradle clean :kert-grpc-compiler:publish -PtargetOs=osx -PtargetArch=aarch_64 +gradle :kert-http:publish +gradle :kert-grpc:publish +gradle :kert-graphql:publish +``` 1. Bump version number (add SNAPSHOT back) Use this to check file format for the compiler