cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agri...@apache.org
Subject cordova-coho git commit: plugins-release-process.md tweaks
Date Fri, 13 Feb 2015 17:27:22 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master dbf9b2dc7 -> b47dee70c


plugins-release-process.md tweaks


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

Branch: refs/heads/master
Commit: b47dee70c531cfbb914c48d8199f111d45487c8c
Parents: dbf9b2d
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Fri Feb 13 12:27:09 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Fri Feb 13 12:27:09 2015 -0500

----------------------------------------------------------------------
 docs/plugins-release-process.md | 23 +++++++++++++++++------
 1 file changed, 17 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/b47dee70/docs/plugins-release-process.md
----------------------------------------------------------------------
diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md
index 78abc12..64a3f31 100644
--- a/docs/plugins-release-process.md
+++ b/docs/plugins-release-process.md
@@ -143,6 +143,7 @@ Ensure you have the svn repos checked out:
 
 Create archives from your tags:
 
+    TODO: As soon as plugins have package.json files checked in update coho to use "npm pack",
and then delete this TODO.
     coho create-archive -r ${ACTIVE// / -r } --dest cordova-dist-dev/$JIRA
 
 Sanity Check:
@@ -234,6 +235,13 @@ _Note: list of PMC members: http://people.apache.org/committers-by-project.html#
 
 ## Publish to dist/
 
+If you've lost your list of ACTIVE:
+
+    TODO: As soon as plugins use tgz, update zip->tgz here.
+    ACTIVE=$(cd cordova-dist-dev/$JIRA; ls *.zip | sed -E 's:-[^-]*$::')
+
+Publish:
+
     cd cordova-dist
     svn up
     for l in $ACTIVE; do ( svn rm plugins/$l* ); done
@@ -251,13 +259,16 @@ Find your release here: https://dist.apache.org/repos/dist/release/cordova/plugi
 
 ## Publish to Plugins Registry
 
-Note that plugman works on directories, in contrast to `npm publish` that works on tarballs.
So be aware that the following command will use your development directories, so make sure
they are checked out to the correct tag before running the `plugman publish` command:
-
-    for l in $ACTIVE; do ( cd $l; echo -n "$l: "; plugman publish . ); done
-
-Actually a better alternative would be to unzip the voted content to a temporary location
and publish with that:
+Unzip the voted content to a temporary location and publish with that:
 
-    cd cordova-dist-dev/$JIRA; mkdir tmp_publish; cd tmp_publish; for l in $ACTIVE; do (unzip
../$l-r*.zip; cd $l; echo -n "$l: "; plugman publish .; cd ..) done; cd ..; rm -r tmp_publish
+    cd cordova-dist/plugins
+    for l in $ACTIVE; do (
+        set -e; set -x
+        rm -rf tmp_publish; mkdir tmp_publish; cd tmp_publish
+        # TODO: As soon as plugins use tgz, update unzip -> tar xzf
+        unzip ../$l-r*.zip > /dev/null
+        cd $l; plugman publish .
+    ) done;
 
 
 ## Post blog Post


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


Mime
View raw message