From 877615f3b32400973cfd15b37e2212761c8ffd4f Mon Sep 17 00:00:00 2001 From: David Renshaw Date: Tue, 12 May 2020 22:56:00 -0400 Subject: [PATCH] update release process notes --- PUBLISHING.md | 6 ++++++ RELEASE-PROCESS.md | 7 +++---- 2 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 PUBLISHING.md diff --git a/PUBLISHING.md b/PUBLISHING.md new file mode 100644 index 0000000..fa8937b --- /dev/null +++ b/PUBLISHING.md @@ -0,0 +1,6 @@ +To publish to the Central Repository, first make sure that `~/.m2/settings.xml` +has your SonaType credentials, then do: + +``` +$ mvn -pl runtime clean deploy -P release +``` diff --git a/RELEASE-PROCESS.md b/RELEASE-PROCESS.md index f5a28db..f077e0e 100644 --- a/RELEASE-PROCESS.md +++ b/RELEASE-PROCESS.md @@ -1,10 +1,9 @@ How to release ============== -* Increment the version number in `project/build.scala`. -* `sbt publishSigned` -* Go to https://oss.sonatype.org/#stagingRepositories and follow - [these instructions](http://central.sonatype.org/pages/releasing-the-deployment.html). +* Make sure that `~/.m2/settings.xml` has your Sonatype credentials. +* Increment the version number in the various pom.xml files. +* `mvn -pl runtime clean deploy -P release` * The package should be available within ten minutes, but [it might take up to two hours](https://issues.sonatype.org/browse/OSSRH-13527?focusedCommentId=338745&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-338745) for it to become available at https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.capnproto%22