Repository: cordova-coho Updated Branches: refs/heads/master 3834b78f5 -> 696809c54
clarify publishing to the plugman repo Project: http://git-wip-us.apache.org/repos/asf/cordova-coho/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-coho/commit/696809c5 Tree: http://git-wip-us.apache.org/repos/asf/cordova-coho/tree/696809c5 Diff: http://git-wip-us.apache.org/repos/asf/cordova-coho/diff/696809c5 Branch: refs/heads/master Commit: 696809c542ae80d2cc95e2ce2095c706c1ff29b0 Parents: 3834b78 Author: Marcel Kinard <[email protected]> Authored: Mon Sep 22 16:31:33 2014 -0400 Committer: Marcel Kinard <[email protected]> Committed: Mon Sep 22 16:31:53 2014 -0400 ---------------------------------------------------------------------- docs/plugins-release-process.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/696809c5/docs/plugins-release-process.md ---------------------------------------------------------------------- diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md index 1dae29f..27e79bf 100644 --- a/docs/plugins-release-process.md +++ b/docs/plugins-release-process.md @@ -31,8 +31,6 @@ A plugins release is performed by a single person each week. We call this person TODO: add in RAT instruction (via coho) for next release -TODO: Use perl instead of sed in these commands so they work on Linux. - TODO: We may want to be using [signed tags](http://git-scm.com/book/en/Git-Basics-Tagging), or at least annotated tags. TODO: Add step about ensuring plugman owner @@ -250,8 +248,15 @@ 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: + + 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 + + ## Post blog Post rake build
