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: Update release process to "git push BRANCH" separate from tag (in case branch push fails)
Date Thu, 12 Feb 2015 15:57:11 GMT
Repository: cordova-coho
Updated Branches:
  refs/heads/master 44ed8dbea -> dbf9b2dc7


Update release process to "git push BRANCH" separate from tag (in case branch push fails)


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

Branch: refs/heads/master
Commit: dbf9b2dc70c711e4ca85f1bd7d7da1c4aa4fde45
Parents: 44ed8db
Author: Andrew Grieve <agrieve@chromium.org>
Authored: Thu Feb 12 10:55:53 2015 -0500
Committer: Andrew Grieve <agrieve@chromium.org>
Committed: Thu Feb 12 10:57:08 2015 -0500

----------------------------------------------------------------------
 docs/platforms-release-process.md | 2 +-
 docs/plugins-release-process.md   | 8 ++++++--
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/dbf9b2dc/docs/platforms-release-process.md
----------------------------------------------------------------------
diff --git a/docs/platforms-release-process.md b/docs/platforms-release-process.md
index 2c0ca9e..6914b96 100644
--- a/docs/platforms-release-process.md
+++ b/docs/platforms-release-process.md
@@ -343,7 +343,7 @@ If you need to move a tag before the release, here is how to do that:
     To https://git-wip-us.apache.org/repos/asf/cordova-docs.git
      - [deleted]         3.1.0
     $ git tag 3.1.0 7cf9fea03d7d02a13aef97a09a459e8128bd3198
-    $ git push origin 3.1.0 --tags
+    $ git push origin 3.1.0 && git push origin refs/tags/3.1.0
     Total 0 (delta 0), reused 0 (delta 0)
     To https://git-wip-us.apache.org/repos/asf/cordova-docs.git
      * [new tag]         3.1.0 -> 3.1.0

http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/dbf9b2dc/docs/plugins-release-process.md
----------------------------------------------------------------------
diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md
index 2aed4ec..78abc12 100644
--- a/docs/plugins-release-process.md
+++ b/docs/plugins-release-process.md
@@ -103,7 +103,7 @@ Update its RELEASENOTES.md file with changes
     # Then curate:
     vim ${ACTIVE// //RELEASENOTES.md }/RELEASENOTES.md
 
-Add a comment to the JIRA issue with the output from (we'll use this lated for the blog post):
+Add a comment to the JIRA issue with the output from (we'll use this later for the blog post):
 
     for l in $ACTIVE; do ( cd $l; id="$(grep id= plugin.xml | grep -v xml | grep -v engine
| grep -v param | head -1 | cut -d'"' -f2)"; v="$(grep version= plugin.xml | grep -v xml |
head -n1 | cut -d'"' -f2)"; echo $id@$v; awk "{ if (p) print } /$DATE/ { p = 1 } " < RELEASENOTES.md;
echo); done
 
@@ -131,7 +131,7 @@ Commit these changes together (plugin.xml, RELEASENOTES.md, tests/plugin.xml)
     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 refs/tags/$tag); done
+    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
     # Check that it was all successful:
     coho repo-update -r plugins
     coho repo-status -r plugins
@@ -162,6 +162,10 @@ Upload:
    * Instructions on [sites page README](https://svn.apache.org/repos/asf/cordova/site/README.md)
  * Get blog post proof-read.
 
+To extract changes from RELEASENOTES.md:
+
+    for l in $ACTIVE; do ( cd $l; id="$(grep id= plugin.xml | grep -v xml | grep -v engine
| grep -v param | head -1 | cut -d'"' -f2)"; v="$(git describe --tags --abbrev=0)"; echo $id@${v:1};
awk "{ if (p) print } /$DATE/ { p = 1 } " < RELEASENOTES.md; echo); done
+
 ## Start VOTE Thread
 Send an email to dev ML with:
 


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


Mime
View raw message