cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marc...@apache.org
Subject git commit: update instructions regarding publishing to npm
Date Fri, 05 Sep 2014 21:03:24 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master ffe7c6663 -> 21a743b4e


update instructions regarding publishing to npm


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

Branch: refs/heads/master
Commit: 21a743b4e67df8dc4f050296c2b8b23496a3f347
Parents: ffe7c66
Author: Marcel Kinard <cmarcelk@gmail.com>
Authored: Fri Sep 5 17:03:07 2014 -0400
Committer: Marcel Kinard <cmarcelk@gmail.com>
Committed: Fri Sep 5 17:03:07 2014 -0400

----------------------------------------------------------------------
 docs/cadence-release-process.md | 36 +++++++++++++++++-------------------
 1 file changed, 17 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/21a743b4/docs/cadence-release-process.md
----------------------------------------------------------------------
diff --git a/docs/cadence-release-process.md b/docs/cadence-release-process.md
index d08d04f..969ac0a 100644
--- a/docs/cadence-release-process.md
+++ b/docs/cadence-release-process.md
@@ -141,23 +141,9 @@ Upload:
 
 Find your release here: https://dist.apache.org/repos/dist/dev/cordova/
 
-## Publish RC to NPM
+## Do not publish the RC to NPM
 
-    cd cordova-dist-dev/$JIRA
-    
-publish all at once
-
-    for package in $(find *.tgz); do $(npm publish --tag rc $package); done;
-    
-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 
-
-For testing, you can now download all of the above repos with:
-
-    npm install -g cordova@rc
+Once a name-version is published to the npm registry, it cannot be updated. Ever. And the
name-version is parsed from the package.json file. So to move from an RC to final would require
a change in the package.json file, which would invalidate any Apache vote. Defer the npm publishing
until after the vote is complete and has passed.
 
 ## Testing & Documentation
 
@@ -333,8 +319,21 @@ For each package to be released, replace `cordova-android` with the package
name
 
 Protip: The version is in the filename. `latest` is the public release tag on npm. 
 
-    cd ../cordova-dist-dev
-    npm tag cordova-android@3.6.0 latest cordova-android-3.6.0.tgz
+    cd ../cordova-dist-dev/$JIRA
+
+publish all at once
+
+    for package in $(find *.tgz); do $(npm publish --tag rc $package); done;
+    
+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 
+
+Tag this new version in npm as the latest
+
+    npm tag cordova-android@3.6.0 latest
     
 Remove RCs from dist/dev
 
@@ -344,7 +343,6 @@ Remove RCs from dist/dev
     svn commit -m "$JIRA Removing release candidates from dist/dev"
     cd ..
 
-
 Find your release here: https://dist.apache.org/repos/dist/release/cordova/
 
 ## Final Details


Mime
View raw message