You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2016/01/16 02:18:24 UTC

cordova-coho git commit: added step to push release branches to apache

Repository: cordova-coho
Updated Branches:
  refs/heads/master c9666f636 -> 487c99794


added step to push release branches to apache

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

Branch: refs/heads/master
Commit: 487c99794087f57976ed3c4685a759662735fc38
Parents: c9666f6
Author: Steve Gill <st...@gmail.com>
Authored: Fri Jan 15 17:17:59 2016 -0800
Committer: Steve Gill <st...@gmail.com>
Committed: Fri Jan 15 17:17:59 2016 -0800

----------------------------------------------------------------------
 docs/plugins-release-process.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/487c9979/docs/plugins-release-process.md
----------------------------------------------------------------------
diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md
index 5bf68ec..457ee57 100644
--- a/docs/plugins-release-process.md
+++ b/docs/plugins-release-process.md
@@ -141,12 +141,13 @@ Reply to the DISCUSS thread with a link to the updated release notes.
     for l in $ACTIVE; do ( cd $l; v="$(grep version= plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; vt="$(grep version= tests/plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; if [ "$v" != "$vt" ]; then echo "$l: Setting version to $v"; sed -i '' -E s:"version=\"$vt\":version=\"$v\":" tests/plugin.xml; fi); done
     for l in $ACTIVE; do (cd $l; git commit -am "$JIRA Incremented plugin version." ); done
 
-## Push tags and changes
+## Push tags, branches and changes
     # Sanity check:
     coho repo-status -r plugins
     coho foreach -r plugins "git status -s"
     # Push: (assumes "origin" is apache remote)
     for l in $ACTIVE; do ( cd $l; tag=$(git describe --tags --abbrev=0); echo $l; set -x; git push origin master && git push origin refs/tags/$tag); done
+    for l in $ACTIVE; do ( cd $l; v="$(grep version= plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; b=`expr $v : '^\(....\)'`; x="x"; b=$b$x; git push origin $b;); done
     # Check that it was all successful:
     coho repo-update -r plugins
     coho repo-status -r plugins


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