You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/23 15:59:19 UTC

[cordova-coho] branch janpio-CB-13828 updated: fix publish section

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-CB-13828
in repository https://gitbox.apache.org/repos/asf/cordova-coho.git


The following commit(s) were added to refs/heads/janpio-CB-13828 by this push:
     new 19b4e8b  fix publish section
19b4e8b is described below

commit 19b4e8b1f3b85e69df842f785e48d35913436244
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Fri Feb 23 16:59:18 2018 +0100

    fix publish section
---
 docs/platforms-release-process.md | 22 +++++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)

diff --git a/docs/platforms-release-process.md b/docs/platforms-release-process.md
index f698418..028d3b7 100644
--- a/docs/platforms-release-process.md
+++ b/docs/platforms-release-process.md
@@ -442,6 +442,8 @@ _Note: list of PMC members: http://people.apache.org/phonebook.html?pmc=cordova_
 
 ### Otherwise: Publish real release to `dist/` & npm
 
+First move the release package files to `dist/`:
+
 (replace `android` with your platform)
 
     cd cordova-dist
@@ -450,11 +452,10 @@ _Note: list of PMC members: http://people.apache.org/phonebook.html?pmc=cordova_
     cp ../cordova-dist-dev/$JIRA/cordova-android* platforms/
     svn add platforms/cordova-android*
     svn commit -m "$JIRA Published android release to dist"
-    npm publish platforms/cordova-android-5.0.0.tgz
 
-Find your release here: https://dist.apache.org/repos/dist/release/cordova/
+Now you can find your release here: https://dist.apache.org/repos/dist/release/cordova/
 
-Now you can also remove the release candidate:
+Then you can also remove the release candidate from `dist-dev/`:
 
     cd ../cordova-dist-dev
     svn up
@@ -462,6 +463,21 @@ Now you can also remove the release candidate:
     svn commit -m "$JIRA Removing release candidates from dist/dev"
     cd ..
 
+And finally you can publish your package to `npm`:
+
+    cd cordova-dist
+    npm publish platforms/cordova-android-5.0.0.tgz
+
+Note: On Windows you have to replace `/` with `\` for this command to work.
+
+Check online if everything worked: https://www.npmjs.com/package/cordova-windows
+
+You should now also be able to add your platform via the version number using the CLI:
+
+    cordova create platformTest
+    cd platformTest
+    cordova platform add android@5.0.0
+
 ### (Android only) Uploading to Bintray
 
 1. Add the cordova bintray username and API key as system variables. Your `BINTRAY_USER` should be the username "cordova". The API key is available on the [bintray cordova "edit profile" page](https://bintray.com/profile/edit) - the last option in the menu on the left is "API Key". Find it there. [Credentials to log into the bintray site are on the PMC private SVN](https://svn.apache.org/repos/private/pmc/cordova/logins/bintray.txt). If you have trouble, ask the Project Management Commit [...]

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org