You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ld...@apache.org on 2014/09/18 19:27:50 UTC

[2/7] git commit: Clarify the role of shrinkwrap. Other minor improvements.

Clarify the role of shrinkwrap. Other minor improvements.


Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/7792a80c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/7792a80c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/7792a80c

Branch: refs/heads/CB-7471
Commit: 7792a80c7e7f3a36d75ed907258547b2b445e948
Parents: 86cd095
Author: Marcel Kinard <cm...@gmail.com>
Authored: Tue Sep 16 09:18:28 2014 -0400
Committer: Marcel Kinard <cm...@gmail.com>
Committed: Tue Sep 16 09:19:11 2014 -0400

----------------------------------------------------------------------
 docs/cadence-release-process.md | 12 +++++++-----
 docs/tools-release-process.md   |  2 +-
 2 files changed, 8 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/7792a80c/docs/cadence-release-process.md
----------------------------------------------------------------------
diff --git a/docs/cadence-release-process.md b/docs/cadence-release-process.md
index 1323ce8..5b290cf 100644
--- a/docs/cadence-release-process.md
+++ b/docs/cadence-release-process.md
@@ -301,6 +301,8 @@ _Note: list of PMC members: http://people.apache.org/committers-by-project.html#
     svn rm tools/cordova-lib*
     svn rm tools/plugman-*
     svn rm tools/cordova-3*
+    svn rm tools/cordova-app-hello*
+    svn rm tools/cordova-mobile-spec*
     svn rm platforms/*
     cp ../cordova-dist-dev/$JIRA/cordova-js* tools/
     cp ../cordova-dist-dev/$JIRA/cordova-3* tools/
@@ -328,17 +330,17 @@ Note: when doing the `npm publish` make sure you are using a recent version of n
 
     cd ../cordova-dist-dev/$JIRA
 
-publish all at once
+Publish all at once:
 
     for package in $(find *.tgz); do $(npm publish --tag rc $package); done;
     
-publish one package at a time
+Or publish one package at a time:
 
     npm publish --tag rc cordova-android-3.6.0.tgz
 
 Note: You need to be an owner for each of these repos and the versions can't already have been published. You want to publish with the rc tag, so you can move everything to "latest" all at once after they have all been published.
 
-Do a quick test of the rc version
+Do a quick test of the rc version:
 
     npm -g uninstall cordova
     npm -g install cordova@rc
@@ -348,12 +350,12 @@ Do a quick test of the rc version
     cordova plugin add org.apache.cordova.device
     cordova run android
 
-Tag this new version in npm as the latest
+Tag this new version in npm as the latest:
 
     npm tag cordova@3.6.0-0.2.8 latest
     npm tag cordova-android@3.6.0 latest
 
-Repeat the tagging as "latest" for all the npm packages. You can check your work by running "npm info cordova-android" and look at the value for 'dist-tags'.
+Repeat the tagging as "latest" for all the npm packages (platforms and tools). You can check your work by running "npm info cordova-android" and look at the value for 'dist-tags'.
 
 Note that it is not possible to remove the "rc" tag. But it should now point to the same place as "latest".
     

http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/7792a80c/docs/tools-release-process.md
----------------------------------------------------------------------
diff --git a/docs/tools-release-process.md b/docs/tools-release-process.md
index c3e0970..ce05583 100644
--- a/docs/tools-release-process.md
+++ b/docs/tools-release-process.md
@@ -124,7 +124,7 @@ Update the version of cordova-lib that cli and plugman depend on:
     sed -i '' -E 's/"cordova-lib":.*/"cordova-lib": "'$v'",/' cordova-cli/package.json
     sed -i '' -E 's/"cordova.lib":.*/"cordova-lib": "'$v'",/' cordova-plugman/package.json
 
-Create npm-shrinkwrap.json in lib, cli, and plugman:
+Create npm-shrinkwrap.json in lib, cli, and plugman. This is important especially when the cli depends on specific versions of lib and similar, because the shrinkwrap overrules the version dependencies in package.json. If the tools have any specific version dependencies, verify they are correct in the shrinkwrap after you complete this step.
 
     (cd cordova-lib/cordova-lib; npm shrinkwrap;)
     (cd cordova-cli; npm shrinkwrap;)