From 8e9591f3ab7bd5f1fd3a0dcde344ba5433101430 Mon Sep 17 00:00:00 2001 From: Clinton Alexander Date: Wed, 28 Jun 2017 02:23:15 +0100 Subject: [PATCH] Deleted publishing documentation because it is out of date and being rewritten on the Wiki. --- docs/source/publishing-corda.rst | 76 --------------------------- docs/source/release-process-index.rst | 1 - 2 files changed, 77 deletions(-) delete mode 100644 docs/source/publishing-corda.rst diff --git a/docs/source/publishing-corda.rst b/docs/source/publishing-corda.rst deleted file mode 100644 index 7b9f4b3c5e..0000000000 --- a/docs/source/publishing-corda.rst +++ /dev/null @@ -1,76 +0,0 @@ -Publishing Corda -================ - -Before Publishing ------------------ - -Before publishing you must make sure the version you plan to publish has a unique version number. Jcenter and Maven -Central will not allow overwriting old versions _unless_ the version is a snapshot. - -This guide assumes you are trying to publish to net.corda.*. Any other Maven coordinates require approval from Jcenter -and Maven Central. - -Publishing Locally ------------------- - -To publish the codebase locally to Maven Local you must run: - -.. code-block:: text - - gradlew install - -.. note:: This command is an alias for `publishToMavenLocal`. - -Publishing to Jcenter ---------------------- - -.. note:: The module you wish to publish must be linked to jcenter in Bintray. Only the founding account can do this. - -To publish to Jcenter you must first have the following; - -1. An account on Bintray in the R3 organisation -2. Our GPG key's passphrase for signing the binaries to publish - -Getting Setup -````````````` - -You must now set the following environment variables: - -* CORDA_BINTRAY_USER your Bintray username -* CORDA_BINTRAY_KEY to your Bintray API key (found at: https://bintray.com/profile/edit) -* CORDA_BINTRAY_GPG_PASSPHRASE to our GPG passphrase - -Publishing -`````````` - -Once you are setup you can upload all modules in a project with - -.. code-block:: text - - gradlew bintrayUpload - -Now login to Bintray and navigate to the corda repository, you will see a box stating you have published N files -and asking if you wish to publish. You can now publish to Bintray and Jcenter by clicking this button. - -.. warning:: Before publishing you should check that all of the files are uploaded and are signed. - -Within a minute your new version will be available to download and use. - -Publishing to Maven Central ---------------------------- - -To publish to Maven Central you need the following; - -1. An admin account on our Bintray R3 organisation -2. A published version in Bintray -3. An account with our Sonatype organisation (Maven Central's host) - -Publishing -`````````` - -1. Publish to Bintray -2. Navigate to the project you wish to publish -3. Click "Maven Central" -4. Enter your Sonatype credentials to publish a new version - -.. note:: The project you publish must be already published to Bintray and the project must be linked to Jcenter diff --git a/docs/source/release-process-index.rst b/docs/source/release-process-index.rst index ff8d39ea52..9e5276f786 100644 --- a/docs/source/release-process-index.rst +++ b/docs/source/release-process-index.rst @@ -6,5 +6,4 @@ Release process release-notes changelog - publishing-corda codestyle \ No newline at end of file