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/09/14 23:28:44 UTC

cordova-coho git commit: Added script to pull changes from RELEASENOTES.md

Repository: cordova-coho
Updated Branches:
  refs/heads/master e4222dcb8 -> 3feac1714


Added script to pull changes from RELEASENOTES.md

 This closes #138


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

Branch: refs/heads/master
Commit: 3feac1714e5675f839a9875b6d98246dc41e4cc1
Parents: e4222dc
Author: Steve Gill <st...@gmail.com>
Authored: Wed Sep 14 16:28:14 2016 -0700
Committer: Steve Gill <st...@gmail.com>
Committed: Wed Sep 14 16:28:42 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-coho/blob/3feac171/docs/plugins-release-process.md
----------------------------------------------------------------------
diff --git a/docs/plugins-release-process.md b/docs/plugins-release-process.md
index ed147df..6f74834 100644
--- a/docs/plugins-release-process.md
+++ b/docs/plugins-release-process.md
@@ -110,10 +110,6 @@ 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 later for the blog post): *CURRENTLY NOT WORKING*
-
-    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
-
 Commit these changes together (plugin.xml, RELEASENOTES.md, tests/plugin.xml)
 
     for l in $ACTIVE; do ( cd $l; v="$(grep version= plugin.xml | grep -v xml | head -n1 | cut -d'"' -f2)"; git commit -am "$JIRA Updated version and RELEASENOTES.md for release $v"); done
@@ -180,13 +176,13 @@ Upload:
 * Find your release here: https://dist.apache.org/repos/dist/dev/cordova/
 
 ## Prepare Blog Post
- * Combine highlights from RELEASENOTES.md into a Release Announcement blog post
-   * Instructions on [sites page README](https://svn.apache.org/repos/asf/cordova/site/README.md)
- * Get blog post proof-read.
+Run the following script to get release notes from RELEASENOTS.md.
 
-To extract changes from RELEASENOTES.md:
+    for l in $ACTIVE; do (cd $l; current_release=$(git describe --tags --abbrev=0); previous_release=$(git describe --abbrev=0 --tags `git rev-list --tags --skip=1 --max-count=1`); echo "$l@$current_release"; awk '/### '$current_release'.*/,/### '$previous_release'.*/ {temp=match($0,/### '$previous_release'/); title=match($0, /### '$current_release'/); if(temp == 0 && title == 0) print $0}' < RELEASENOTES.md); done
 
-    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
+ * Combine the output from above into a Release Announcement blog post
+   * Instructions on [sites page README](https://svn.apache.org/repos/asf/cordova/site/README.md)
+ * Get blog post proof-read.
 
 ## Start VOTE Thread
 Send an email to dev ML with:
@@ -211,6 +207,7 @@ __Body:__
     Upon a successful vote I will upload the archives to dist/, upload them to npm, and post the corresponding blog post.
 
     Voting guidelines: https://github.com/apache/cordova-coho/blob/master/docs/release-voting.md
+    How to vote on a plugins release at https://github.com/apache/cordova-coho/blob/master/docs/plugins-release-process.md#voting
 
     Voting will go on for a minimum of 48 hours.
 


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